Bug 494637 - [Regression] On-screen keyboard causes windows to shrink and no longer expand afterward
Summary: [Regression] On-screen keyboard causes windows to shrink and no longer expand...
Status: RESOLVED DUPLICATE of bug 459136
Alias: None
Product: kwin
Classification: Plasma
Component: virtual-keyboard (show other bugs)
Version: 6.1.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 07:06 UTC by Ellie
Modified: 2024-11-06 02:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellie 2024-10-13 07:06:24 UTC
SUMMARY

Toggling the on-screen keyboard causes screen-sized windows to shrink and no longer expand afterward. This was already broken and never worked for non-maximized-but-screen-sized-windows under Plasma 6.0, however it at least consistently worked with maximized windows that would expand again after being shrunk by the on-screen keyboard. Now somewhere along the way to 6.1.5, this also has broken and now maximized windows also won't properly expand half the time. Because with maximized windows it's more tedious to fix that (you'll need to constantly unmaximize them and maximize them again) this is somewhat of a larger annoyance in practice.

STEPS TO REPRODUCE

1. Use on-screen keyboard and many screen-sized app windows
2. Toggle keyboard and switch between windows (will happen naturally if you use a touch screen)

OBSERVED RESULT

Screen-sized windows shrink when keyboard appears, don't always expand again after keyboard goes away. This is annoying whether the window was maximized or not, but for maximized ones it even requires multiple interactions to fix.

EXPECTED RESULT

Screen-sized windows shrink when keyboard appears, but always expand again after keyboard goes away, no matter if they were maximized or not.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Ellie 2024-10-27 16:05:26 UTC
If anybody comes across a workaround for this, I would be curious. Without a keyboard attached this is quite difficult to work around, since it requires unmaximizing and maximizing again the affected window which can be almost impossible on a touch screen (since the buttons for that are difficult to accurately hit).
Comment 2 Nate Graham 2024-11-05 22:15:21 UTC
Either the same as Bug 459136, or at least quite related to it.
Comment 3 Ellie 2024-11-06 02:56:18 UTC
It looks like the same bug. However, I think for maximized windows it seemed to work for a while and I only saw non-maximized ones get occasionally stuck in a shrunk state. But perhaps I was just somehow mistaken about that, the current state seems to be that maximized winodws are affected too.

*** This bug has been marked as a duplicate of bug 459136 ***