Bug 1723754

Summary: On-screen keyboard pushes the window to the top
Product: Red Hat Enterprise Linux 7 Reporter: Deepu K S <dkochuka>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: cgarnach, dkochuka, fmuellner, jadahl, jgrulich, mclasen, nbansal, tpelka, vchoudha
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 15:41:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Deepu K S 2019-06-25 10:02:51 UTC
Description of problem:
Gnome On Screen Keyboard pushes the focused window to the top. Due to this part of the window is pushed out of screen if session is run in a kiosk mode.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 7.6
gnome-shell-3.28.3-6.el7.x86_64
gnome-settings-daemon-3.28.1-2.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open a gnome-terminal with OSK enabled in session.
2. The gnome-terminal window shifts some point upwards.
3.

Actual results:
Window is pushed out of screen.

Expected results:
Window position remains constant irrespective of OSK launch.

Additional info:

Comment 2 Florian Müllner 2019-06-25 15:13:51 UTC
(In reply to Deepu K S from comment #0)

> Actual results:
> Window is pushed out of screen.

This is the expected result if the on-screen keyboard would otherwise cover the focused entry/element within the window.

Comment 3 Deepu K S 2019-06-26 08:57:36 UTC
(In reply to Florian Müllner from comment #2)
> (In reply to Deepu K S from comment #0)
> 
> > Actual results:
> > Window is pushed out of screen.
> 
> This is the expected result if the on-screen keyboard would otherwise cover
> the focused entry/element within the window.

The problem is that if the window is opened in a kiosk mode, the title bar goes out of screen.

Secondly in case of lower resolutions (for example 900x600), the On Screen Keyboard doesn't fit in to the screen fully.
The lower part of OSK goes below the screen.

It seems like we need 1024x768 or above resolution to fit in correctly.

Thanks.

Comment 4 Deepu K S 2019-06-26 12:36:07 UTC
(In reply to Deepu K S from comment #3)
> (In reply to Florian Müllner from comment #2)
> > (In reply to Deepu K S from comment #0)

> 
> Secondly in case of lower resolutions (for example 900x600), the On Screen
> Keyboard doesn't fit in to the screen fully.
> The lower part of OSK goes below the screen.
> 
> It seems like we need 1024x768 or above resolution to fit in correctly.
> 
> Thanks.

A workaround I found was to reduce the Font Scaling from Gnome Tweaks, it helps the OSK to fit in the screen. But it affects the system fonts.
https://github.com/pop-os/gnome-shell-theme/issues/34

Comment 5 Deepu K S 2019-06-26 12:51:35 UTC
Regarding the issue reported here in comment #0, the shift of window is not seen on Fedora 28 (was using Wayland). One more issue that I found upstream.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/132

Adding Carlos with whom I had discussed the issue earlier.

Comment 14 Tomas Popela 2020-08-27 14:42:33 UTC
Closing the bug as the attached customer case is closed.