* bug#172620用户组名字长度为16及以上时,修改用户组ID、添加用户失败
This commit is contained in:
parent
4d82755628
commit
3007407aca
Binary file not shown.
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 49 KiB |
Binary file not shown.
Before Width: | Height: | Size: 211 KiB After Width: | Height: | Size: 396 KiB |
Binary file not shown.
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 418 KiB |
|
@ -288,17 +288,11 @@ Tips:系统至少需要存在一个管理员用户。
|
|||
6)触控滚动方式(中间区域滚动,边界滚动,禁用滚动),设置边界滚动时,垂直边界及水平边界滚动有效,设置为中间区域滚动时,垂直中间及水平中间滚动有效。
|
||||
|
||||
7)交互手势:
|
||||
|
||||
- 三指单击:进入全局搜索页面
|
||||
|
||||
- 三指向下滑动:最小化/关闭窗口或标签页
|
||||
|
||||
- 三指向上滑动:显示所有任务视图
|
||||
|
||||
- 三指左右滑动:在打开的应用窗口之间切换
|
||||
|
||||
- 四指左右滑动:在多个桌面之间切换
|
||||
|
||||
- 四指点击:呼出侧边栏
|
||||
|
||||

|
||||
|
@ -312,17 +306,11 @@ Tips:系统至少需要存在一个管理员用户。
|
|||

|
||||
|
||||
触摸屏基础手势交互如下:
|
||||
|
||||
- 单击:手指轻点触控设备,触发功能,例如:选择对象、打开菜单栏、执行按钮命令等
|
||||
|
||||
- 双击:手指快速点击两次触控设备,触发功能,例如:打开桌面应用、打开文件夹/文件、选择文字等
|
||||
|
||||
- 长按:手指长按某个元素触发功能,例如:显示弹出菜单栏、右键菜单栏、多选、选择文字等
|
||||
|
||||
- 滑动:滑动以连续滚动列表和页面、切换页面/对象、滑动以调节滑动条数值
|
||||
|
||||
- 拖动:移动对象位置,或拖动进行批量操作,例如:移动窗口/文件、框选图标/文字等
|
||||
|
||||
- 捏合:两个手指按住屏幕向外展开以放大内容,向内收拢以缩小内容,例如:网页、图片
|
||||
|
||||
注意:若您的设备不具有此功能,且未外接触摸屏,控制面板中不显示触摸屏的设置。
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
ukui-control-center (3.22.1.25-ok20) v101; urgency=medium
|
||||
ukui-control-center (3.22.1.25-ok21) yangtze; urgency=medium
|
||||
|
||||
* bug#172620用户组名字长度为16及以上时,修改用户组ID、添加用户失败
|
||||
* bug#172447大号/超大号字体时,亮度百分比显示不全
|
||||
* bug#170711 ukui-control-cente KVE-2022-0904
|
||||
* bug#172601授权页面后点击取消/“×”按钮后,可直接进入用户组
|
||||
* 需求:无
|
||||
* 任务:重新编译代码
|
||||
* 其他改动:无
|
||||
|
||||
-- zhoubin <zhoubin@kylinos.cn> Wed, 31 May 2023 16:32:11 +0800
|
||||
|
||||
ukui-control-center (3.22.1.25-ok20) yangtze; urgency=medium
|
||||
|
||||
* 【控制面板】英文系统,控制面板的键盘界面标题keyboard中间存在空格
|
||||
* 需求:无
|
||||
|
|
|
@ -283,7 +283,11 @@ void changeUserGroup::connectToServer()
|
|||
return;
|
||||
}
|
||||
// 将以后所有DBus调用的超时设置为 milliseconds
|
||||
serviceInterface->call("setAuth", true);
|
||||
QDBusReply<bool> ret = serviceInterface->call("setAuth", true);
|
||||
if (ret) {
|
||||
QTimer::singleShot(100, this, [=]{emit showDialog();});
|
||||
|
||||
}
|
||||
serviceInterface->setTimeout(2147483647); // -1 为默认的25s超时
|
||||
}
|
||||
|
||||
|
@ -694,14 +698,19 @@ void changeUserGroup::saveUserGroupInfoSlot()
|
|||
|
||||
}
|
||||
}
|
||||
QString groupName = mUserGroupLineEdit->text();
|
||||
if (mUserGroupLineEdit->toolTip() != nullptr) {
|
||||
groupName = mUserGroupLineEdit->toolTip();
|
||||
}
|
||||
|
||||
|
||||
QDBusReply<bool> setReply = this->serviceInterface->call("set",
|
||||
mUserGroupLineEdit->text(),mUserGroupIdLineEdit->text());
|
||||
if (setReply.isValid()){
|
||||
groupName,mUserGroupIdLineEdit->text());
|
||||
if (setReply){
|
||||
// use the returned value
|
||||
qDebug() << "set get call value" << setReply.value();
|
||||
QDBusReply<bool> addUserReply = this->serviceInterface->call("addUserToGroup",
|
||||
mUserGroupLineEdit->text(), addUserList);
|
||||
groupName, addUserList);
|
||||
if (addUserReply.isValid()){
|
||||
// use the returned value
|
||||
qDebug() << "addUserToGroup get call value" << addUserReply.value();
|
||||
|
@ -710,7 +719,7 @@ void changeUserGroup::saveUserGroupInfoSlot()
|
|||
qDebug() << "addUserToGroup call failed" << addUserReply.error();
|
||||
}
|
||||
QDBusReply<bool> delUserReply = this->serviceInterface->call("delUserFromGroup",
|
||||
mUserGroupLineEdit->text(), delUserList);
|
||||
groupName, delUserList);
|
||||
if (delUserReply.isValid()){
|
||||
// use the returned value
|
||||
qDebug() << "delUserFromGroup get call value" << delUserReply.value();
|
||||
|
|
|
@ -158,5 +158,6 @@ private:
|
|||
|
||||
Q_SIGNALS:
|
||||
void needRefresh();
|
||||
void showDialog();
|
||||
};
|
||||
#endif // CHANGEUSERGROUP_H
|
||||
|
|
|
@ -1337,7 +1337,9 @@ QStringList UserInfo::getLoginedUsers() {
|
|||
void UserInfo::showChangeGroupDialog()
|
||||
{
|
||||
changeUserGroup *dialog = new changeUserGroup(pluginWidget2);
|
||||
dialog->exec();
|
||||
connect(dialog, &changeUserGroup::showDialog, this, [=](){
|
||||
dialog->exec();
|
||||
});
|
||||
}
|
||||
|
||||
bool UserInfo::eventFilter(QObject *watched, QEvent *event){
|
||||
|
|
|
@ -45,7 +45,6 @@ BrightnessFrame::BrightnessFrame(const QString &name, const bool &isBattery, con
|
|||
slider->setNodeVisible(false);
|
||||
|
||||
labelValue = new QLabel(this);
|
||||
labelValue->setFixedWidth(35);
|
||||
labelValue->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
|
||||
layout->addWidget(labelName);
|
||||
|
|
|
@ -18,7 +18,6 @@ BrightnessFrame::BrightnessFrame(QWidget *parent) :
|
|||
slider->setRange(10, 100);
|
||||
|
||||
labelValue = new QLabel(this);
|
||||
labelValue->setFixedWidth(36);
|
||||
labelValue->setAlignment(Qt::AlignRight);
|
||||
|
||||
layout->addWidget(labelName);
|
||||
|
|
|
@ -1066,7 +1066,7 @@ QString SysdbusRegister::getShowTimezone()
|
|||
void SysdbusRegister::setShowTimezone(QString timezone)
|
||||
{
|
||||
QProcess process;
|
||||
QString cmd = QString("echo %1 > /etc/.kytimezone").arg(timezone);
|
||||
QString cmd = QString("/usr/bin/echo %1 > /etc/.kytimezone").arg(timezone);
|
||||
|
||||
process.start(cmd);
|
||||
process.waitForFinished();
|
||||
|
|
Loading…
Reference in New Issue