Created attachment 172403 [details] Screenshot showing on screen keyboard at wrong size SUMMARY The on-screen keyboard sometimes opens up at wrong size. When that happens, I haven't found an obvious way to correct it, which may mean I can't get past the lock screen and it renders the tablet somewhat unusable. STEPS TO REPRODUCE 1. Enable default on-screen keyboard maliit 2. Unsure 3. Sometimes the size is just very wrong after coming back to the machine after letting it sit locked for a while, maybe tied to resume from suspend or I'm not sure OBSERVED RESULT On-screen keyboard may be at wrong size with many keys unreachable. Even when I find ways to get it to close and open again, the size isn't corrected. EXPECTED RESULT On-screen keyboard is always at correct size. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: postmarketOS Edge on x64 tablet-like device KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.4.0 Qt Version: 6.6.3 ADDITIONAL INFORMATION
This is on a Steam Deck with like 150% of 175% scaling, right? This could be a bug in the Maliit keyboard itself (maybe its minimum size is too high) or in how KWin scales it. Moving to KWin for now.
Yes it's a Steam Deck 1280x800 screen at 175% UI scale.
I realized this may not have been clear from my description and comment above: Most of the time, the keyboard is scaled correctly at a usable size. This only happens like, 1 out of 50 times or something when the keyboard shows up, but then persists until reboot or until the process of the keyboard is terminated. So it seems to be some sort of race condition or corner case rather than a fundamentally wrong size computation.
Yeah, I expect so. Anything you could to to try to figure out under which conditions it happens will be helpful. Fixing bugs that manifest as rare race conditions is unfortunately a pretty low-chance-of-success endeavor otherwise.
I tried to reproduce and could not. There is little else we can do at this stage. Did any screen hotplugging or scale changes on the times this occurred?
I think the problem is related to multiple screens. It seems to like to bug out sometimes when I do the following: 1. Have larger external screen attached and KDE display settings such that internal touch screen of this laptop-like is disabled 2. Initiate suspend through the KDE lock screen (it may help if during this phase you also already make the maliit keyboard show up so the process is running, I'm not sure) 3. Once the device is suspended, remove the screen by physically unplugging the cable 4. Wake up device by pressing a keyboard key 5. Tap the password input on the internal touch screen 6. Maliit keyboard may now be in wrong size