Bug 466690

Summary: On top panel some types of app windows react wrong on restore from maximize
Product: [Plasma] plasmashell Reporter: Szymon <szymondudek9>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 5.27.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Szymon 2023-03-02 02:30:36 UTC
STEPS TO REPRODUCE

1. Login to Wayland Session
2. Move panel from bottom to top
3. Maximize app like : firefox, vscode, discord, timeshift, qtcreator by dragging to top or double click.
4. Pull down that window ( disconnect the maximized window from the panel )
5. To restore original size of window, maximize again by double click or move by mouse to top of screen ( stick to panel )

OBSERVED RESULT

On electron apps problem occur without exception and on others like Vala : Timeshift, or QT-6 : OBS, QTCreator, QBittorrent, GTK2 : gimp, Java : JetBrains, and Others : Krita. Occur also. 

on KDE apps, or when panel is not on top of screen, problem not appear.

EXPECTED RESULT

un-maximize must restore original window size.

SOFTWARE/OS VERSIONS
Linux : 6.1.x
KDE Plasma Version:  5.26.5, 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.18.8
Comment 1 Nate Graham 2023-03-02 20:32:08 UTC
(In reply to Szymon from comment #0)
> OBSERVED RESULT
> 
> On electron apps problem occur without exception and on others like Vala :
> Timeshift, or QT-6 : OBS, QTCreator, QBittorrent, GTK2 : gimp, Java :
> JetBrains, and Others : Krita. Occur also. 
> 
> on KDE apps, or when panel is not on top of screen, problem not appear.

Can you describe what the problems is exactly? It's not clear to me from the above text. Thanks!
Comment 2 Szymon 2023-03-02 22:36:47 UTC
Problem is declared on thread title, some applications don't restore thier sizes after maximize when panel bar is on top of screen. All electron apps and Qt6 apps won't work at all, and some older gtk applications to. Original size that windows are overwritten after first attempt to unmaximize. Idk how to explain simpler to understand 😃, my english is pretty bad.
Comment 3 Nate Graham 2023-03-06 16:46:46 UTC
Still cannot reproduce the issue with some of those apps. Can you attach a screen recording that shows the issue happening? Thanks!
Comment 4 Bug Janitor Service 2023-03-21 03:45:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-04-05 03:45:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!