fix(UI issue): The virtual keyboard is not fully displayed after screen rotation
Description: The virtual keyboard is not fully displayed after screen rotation Log: 屏幕旋转后虚拟键盘显示不全 Bug: bug##I72EYT
This commit is contained in:
parent
7417086560
commit
87681643b3
|
@ -44,6 +44,7 @@ public:
|
||||||
VirtualKeyboardWidget(QWidget *parent = nullptr);
|
VirtualKeyboardWidget(QWidget *parent = nullptr);
|
||||||
virtual ~VirtualKeyboardWidget();
|
virtual ~VirtualKeyboardWidget();
|
||||||
bool getFloatStatus();
|
bool getFloatStatus();
|
||||||
|
void adjustGeometry();
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void onNormalBtnClicked(QChar c);
|
void onNormalBtnClicked(QChar c);
|
||||||
|
@ -63,7 +64,7 @@ protected:
|
||||||
private:
|
private:
|
||||||
void initUI();
|
void initUI();
|
||||||
void initConnections();
|
void initConnections();
|
||||||
void adjustGeometry();
|
// void adjustGeometry();
|
||||||
void onMouseEvents(int type);
|
void onMouseEvents(int type);
|
||||||
void clearModifier();
|
void clearModifier();
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
ukui-screensaver (4.0.0.0-ok3~0704) v101; urgency=medium
|
||||||
|
|
||||||
|
* BUG号:bug##I72EYT【次要】【锁屏】锁屏界面平板模式切换横竖屏后软键盘下方显示不全(wayland中文)
|
||||||
|
* 需求号:无
|
||||||
|
* 其他修改说明:处理编译依赖问题
|
||||||
|
|
||||||
|
-- liudun <liudun@kylinos.cn> Tue, 04 Jul 2023 10:34:46 +0800
|
||||||
|
|
||||||
ukui-screensaver (4.0.0.0-ok3~0628) yangtze; urgency=medium
|
ukui-screensaver (4.0.0.0-ok3~0628) yangtze; urgency=medium
|
||||||
|
|
||||||
* BUG号:bug#I69CSS【锁屏】合盖后重新打开进入锁屏,此时锁屏界面下方图标会被遮住
|
* BUG号:bug#I69CSS【锁屏】合盖后重新打开进入锁屏,此时锁屏界面下方图标会被遮住
|
||||||
|
|
|
@ -31,7 +31,7 @@ Build-Depends: debhelper-compat (= 12),
|
||||||
ukui-input-gather (>=1.0.0.2),
|
ukui-input-gather (>=1.0.0.2),
|
||||||
libinput-dev,
|
libinput-dev,
|
||||||
libukuiinputgatherclient-dev,
|
libukuiinputgatherclient-dev,
|
||||||
layer-shell-qt
|
liblayershellqtinterface-dev
|
||||||
Standards-Version: 4.5.0
|
Standards-Version: 4.5.0
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Homepage: https://www.github.com/ukui/ukui-screensaver
|
Homepage: https://www.github.com/ukui/ukui-screensaver
|
||||||
|
@ -45,7 +45,6 @@ Depends: ethtool,
|
||||||
ukui-session-manager,
|
ukui-session-manager,
|
||||||
libpam-biometric(>=3.20.0.10),
|
libpam-biometric(>=3.20.0.10),
|
||||||
ukui-input-gather(>=1.0.0.2),
|
ukui-input-gather(>=1.0.0.2),
|
||||||
layer-shell-qt,
|
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends}
|
${shlibs:Depends}
|
||||||
Replaces: ukui-screensaver-common (<< 2.0.0)
|
Replaces: ukui-screensaver-common (<< 2.0.0)
|
||||||
|
|
|
@ -1415,10 +1415,10 @@ void LockWidget::setVirkeyboardPos()
|
||||||
{
|
{
|
||||||
if(vKeyboard)
|
if(vKeyboard)
|
||||||
{
|
{
|
||||||
vKeyboard->setGeometry(0,
|
// vKeyboard->setGeometry(0,
|
||||||
height() - height()/3,
|
// height() - height()/3,
|
||||||
width(), height()/3);
|
// width(), height()/3);
|
||||||
|
vKeyboard->adjustGeometry();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue