SUMMARY When using a virtual keyboard like Onboard, windows are resized to fit the space available on screen, which is usually reduced when the keyboard is opened. What has happened so far is that windows were resized back to their original size when Onboard was closed. After the update to Plasma 5.24, though, this is no longer the case and the windows keep their smaller size. This is obviously quite inconvenient and makes using Plasma on a touchscreen (or even on a non-touchscreen, if you need a virtual keyboard for accessibility reasons) much more complicated. STEPS TO REPRODUCE 1. Open Onboard. 2. Close it. OBSERVED RESULT The windows are reduced in size when Onboard opens, then keep that size. EXPECTED RESULT The windows go back to their previous size. SOFTWARE/OS VERSIONS Linux: KDE neon, using X11 KDE Plasma Version: 5.24.0 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
Can you post the xprop output of Onboard? (run xprop in terminal, e.g. `sleep 5 && xprop` and click anywhere inside onboard)
Created attachment 146534 [details] Onboard xprop Here it is. If you need anything else, let me know!
I have noticed the resizing issue extends beyond the use of virtual keyboards. As an example, it looks like connecting an external screen to my laptop (so a different device from the one used for the initial report) temporarily changes the screen geometry to a smaller one, making all windows smaller, and the normal size is not restored once the geometry itself is restored to the proper value.
Same problem with maliit virtual keyboard on Wayland session. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Graphics Platform: Wayland
(In reply to Riccardo Robecchi from comment #3) > I have noticed the resizing issue extends beyond the use of virtual > keyboards. As an example, it looks like connecting an external screen to my > laptop (so a different device from the one used for the initial report) > temporarily changes the screen geometry to a smaller one, making all windows > smaller, and the normal size is not restored once the geometry itself is > restored to the proper value. I have tracked this specific case down to Latte and I have opened bug 450539, which was however immediately closed saying the problem stems from KWin.
As I have learned in these months, the bug is not related just to virtual keyboards. It applies to a variety of other situations, e.g. with Latte as mentioned before, but also with Plasma panels in some situations. It appears that KWin does not restore the size of windows properly in general, not just with virtual keyboards (and this may be the cause behind bug 457950, just to name one which I know).
There has been a lot of work in this area since the last update on this bug report, most of these things should be fixed by now, so I'll mark this as resolved. There's bug 459136 to track the remaining issue with virtual keyboards specifically; if you find any other corner cases where KWin doesn't restore window sizes properly, please make separate bug reports for the specific issues.
This has unfortunately never been fixed and has kept on happening all the time. I still have this issue with the latest Plasma. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2
*** This bug has been marked as a duplicate of bug 459136 ***