!75 fix some bugs and edit changelog
Merge pull request !75 from 李享/openkylin/nile
This commit is contained in:
commit
f526b69939
|
@ -1,3 +1,16 @@
|
|||
ukui-bluetooth (4.10.1.0-ok2.3) nile; urgency=medium
|
||||
|
||||
* Bug号码:#I8WMEC【次要】【蓝牙】侧边栏蓝牙发送成功通知存在英文,鼠标悬浮关闭按钮无提示
|
||||
* #I8WL1S【wayland】【次要】蓝牙部分弹窗缺少标题栏图标、标题栏和关闭按钮
|
||||
* ##I8WN86 【wayland】【wlcom】【次要】【蓝牙】蓝牙发送文件时,点击任务栏蓝牙图标,打开的任务栏蓝牙界面位置错误
|
||||
* #I8WXSF 【wayland】【wlcom】【次要】【蓝牙】打开任务栏蓝牙界面,任务栏有蓝牙图标
|
||||
* #I8XVIN 【次要】【蓝牙】【需求26954】任务栏蓝牙窗口未适配“窗口圆角”设置
|
||||
* 需求号:无
|
||||
* 其他改动说明:无
|
||||
* 其他改动影响域:无
|
||||
|
||||
-- lixiang1 <lixiang1@kylinos.cn> Fri, 23 Feb 2024 16:12:22 +0800
|
||||
|
||||
ukui-bluetooth (4.10.1.0-ok2.2) nile; urgency=medium
|
||||
|
||||
* Bug号码:#I8WMEC【次要】【蓝牙】侧边栏蓝牙发送成功通知存在英文,鼠标悬浮关闭按钮无提示
|
||||
|
|
|
@ -34,6 +34,7 @@ MainProgram::MainProgram(bool env, QObject *parent) :
|
|||
initGSettingInfo();
|
||||
|
||||
UI = TrayWidget::self(_sessionDbus, _mIntel);
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(UI);
|
||||
replyTimer = new QTimer(this);
|
||||
|
||||
if (!_mIntel)
|
||||
|
@ -226,9 +227,9 @@ void MainProgram::sendTransferDeviceMesgSlot(QString address)
|
|||
connect(_sessionDbus,&BluetoothDbus::powerChangedSignal,fileSendWidget,&BluetoothFileTransferWidget::powerChanged);
|
||||
connect(_sessionDbus,&BluetoothDbus::devAttrChanged, fileSendWidget, &BluetoothFileTransferWidget::devattrChanged);
|
||||
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
// }
|
||||
fileSendWidget->show();
|
||||
Config::setKdkGeometry(fileSendWidget->windowHandle(), fileSendWidget->width(), fileSendWidget->height(), true);
|
||||
}
|
||||
|
@ -249,9 +250,9 @@ void MainProgram::sendTransferDeviceMesgSlot(QString address)
|
|||
connect(_sessionDbus,&BluetoothDbus::devAttrChanged, fileSendWidget, &BluetoothFileTransferWidget::devattrChanged);
|
||||
connect(_sessionDbus,&BluetoothDbus::powerChangedSignal,fileSendWidget,&BluetoothFileTransferWidget::powerChanged);
|
||||
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
// }
|
||||
fileSendWidget->show();
|
||||
Config::setKdkGeometry(fileSendWidget->windowHandle(), fileSendWidget->width(), fileSendWidget->height(), true);
|
||||
} else {
|
||||
|
@ -286,9 +287,9 @@ void MainProgram::sendTransferFilesMesgSlot(QStringList targetList)
|
|||
connect(_sessionDbus,&BluetoothDbus::devAttrChanged, fileSendWidget, &BluetoothFileTransferWidget::devattrChanged);
|
||||
connect(_sessionDbus,&BluetoothDbus::powerChangedSignal,fileSendWidget,&BluetoothFileTransferWidget::powerChanged);
|
||||
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
// }
|
||||
fileSendWidget->show();
|
||||
Config::setKdkGeometry(fileSendWidget->windowHandle(), fileSendWidget->width(), fileSendWidget->height(), true);
|
||||
}
|
||||
|
@ -308,9 +309,9 @@ void MainProgram::sendTransferFilesMesgSlot(QStringList targetList)
|
|||
connect(_sessionDbus,&BluetoothDbus::devAttrChanged, fileSendWidget, &BluetoothFileTransferWidget::devattrChanged);
|
||||
connect(_sessionDbus,&BluetoothDbus::powerChangedSignal,fileSendWidget,&BluetoothFileTransferWidget::powerChanged);
|
||||
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(fileSendWidget);
|
||||
// }
|
||||
fileSendWidget->show();
|
||||
Config::setKdkGeometry(fileSendWidget->windowHandle(), fileSendWidget->width(), fileSendWidget->height(), true);
|
||||
} else {
|
||||
|
@ -354,9 +355,9 @@ void MainProgram::displayPasskeySlot(QString dev, QString name, QString passkey)
|
|||
const KWindowInfo info(Keypincodewidget->winId(), NET::WMState);
|
||||
if (!info.hasState(NET::SkipTaskbar) || !info.hasState(NET::SkipPager))
|
||||
KWindowSystem::setState(Keypincodewidget->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(Keypincodewidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(Keypincodewidget);
|
||||
// }
|
||||
Keypincodewidget->show();
|
||||
Keypincodewidget->activateWindow();
|
||||
Config::setKdkGeometry(Keypincodewidget->windowHandle(),
|
||||
|
@ -413,9 +414,9 @@ void MainProgram::requestConfirmationSlot(QString dev, QString name, QString pas
|
|||
const KWindowInfo info(pincodewidget->winId(), NET::WMState);
|
||||
if (!info.hasState(NET::SkipTaskbar) || !info.hasState(NET::SkipPager))
|
||||
KWindowSystem::setState(pincodewidget->winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(pincodewidget);
|
||||
}
|
||||
// if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"),Qt::CaseInsensitive)) {
|
||||
// kdk::UkuiStyleHelper::self()->removeHeader(pincodewidget);
|
||||
// }
|
||||
pincodewidget->show();
|
||||
pincodewidget->activateWindow();
|
||||
Config::setKdkGeometry(pincodewidget->windowHandle(),
|
||||
|
|
|
@ -152,7 +152,6 @@ BluetoothFileTransferWidget::BluetoothFileTransferWidget(QStringList files, QMap
|
|||
selectedDev->setIcon(0, QIcon(Config::loadSvg(selectedDev->icon(0).pixmap(64,64), Config::PixmapColor::WHITE)));
|
||||
}
|
||||
selectedDev = toolbutton_list.value(cnt);
|
||||
selectedDev->setIcon(0, QIcon(Config::loadSvg(selectedDev->icon(0).pixmap(64,64), Config::PixmapColor::WHITE)));
|
||||
if (!ok_btn->isEnabled())
|
||||
ok_btn->setEnabled(true);
|
||||
});
|
||||
|
@ -165,7 +164,6 @@ BluetoothFileTransferWidget::BluetoothFileTransferWidget(QStringList files, QMap
|
|||
selectedDev->setIcon(0, QIcon(Config::loadSvg(selectedDev->icon(0).pixmap(64,64), Config::PixmapColor::WHITE)));
|
||||
}
|
||||
selectedDev = item;
|
||||
selectedDev->setIcon(0, QIcon(Config::loadSvg(selectedDev->icon(0).pixmap(64,64), Config::PixmapColor::WHITE)));
|
||||
if (!ok_btn->isEnabled())
|
||||
ok_btn->setEnabled(true);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue