Bug 410061 - Dolphin fails to restore window state (on restart) to maximized when running on wayland
Summary: Dolphin fails to restore window state (on restart) to maximized when running ...
Status: RESOLVED DUPLICATE of bug 409919
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2019-07-21 09:23 UTC by Yogesh Marwaha
Modified: 2019-07-22 17:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot 1 (96.38 KB, image/png)
2019-07-21 09:24 UTC, Yogesh Marwaha
Details
Screenshot 2 (222.38 KB, image/png)
2019-07-21 09:24 UTC, Yogesh Marwaha
Details
Screenshot 3 (231.29 KB, image/png)
2019-07-21 09:24 UTC, Yogesh Marwaha
Details
Screenshot 2 (94.75 KB, image/png)
2019-07-21 15:38 UTC, Yogesh Marwaha
Details
Screenshot 3 (123.32 KB, image/png)
2019-07-21 15:39 UTC, Yogesh Marwaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yogesh Marwaha 2019-07-21 09:23:57 UTC
SUMMARY

Dolphin fails to restore window state (on restart) to maximized when running on wayland


STEPS TO REPRODUCE

1. Maximize dophin window (Ref. screenshot 1)
2. Close it
3. Reopen dolphin (Note: Now the application seems to be opened with a size which would be if it was started maximized, but it does not actually start maximized, as is evident from titlebar buttons' state) (Ref. screenshot 2)
4. Try to maximize window by clicking on relevant button in titlebar. Window is resized in a weird way (Ref. screenshot 3). If the window is resized (dragging from edges) before maximizing, it is maximized properly.


EFFECTS OF BEHAVIOR MENTIONED ABOVE

1. Since the application window is started with a size of a maximized application (while not actually maximized; evident from buttons on the titlebar), it cannot be restored to a smaller size.
2. Since, to the window manager, the window is not maximized, shown window (i) has border around it and (ii) is shown with a titlebar even if showing titlebar for maximized windows is disabled.


SOFTWARE/OS/HARDWARE VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Kernel Version: 4.19.57-1-lts
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 14.6 GiB


ADDITIONAL INFORMATION

This report originates from: https://bugs.kde.org/show_bug.cgi?id=409919

Another related bug report: https://bugs.kde.org/show_bug.cgi?id=391621
Comment 1 Yogesh Marwaha 2019-07-21 09:24:20 UTC
Created attachment 121656 [details]
Screenshot 1
Comment 2 Yogesh Marwaha 2019-07-21 09:24:38 UTC
Created attachment 121657 [details]
Screenshot 2
Comment 3 Yogesh Marwaha 2019-07-21 09:24:59 UTC
Created attachment 121658 [details]
Screenshot 3
Comment 4 Patrick Silva 2019-07-21 11:03:05 UTC
I can confirm this issue. I use Arch Linux too.
Comment 5 Yogesh Marwaha 2019-07-21 15:38:48 UTC
Created attachment 121662 [details]
Screenshot 2
Comment 6 Yogesh Marwaha 2019-07-21 15:39:47 UTC
Created attachment 121663 [details]
Screenshot 3
Comment 7 Nate Graham 2019-07-21 23:13:45 UTC
Is it only Dolphin that exhibits this behavior on Wayland? Or do you find that it happens for other KDE apps too (and if so, which ones)?
Comment 8 Yogesh Marwaha 2019-07-22 03:41:16 UTC
This behavior is applicable for all KDE applications I have used/tried (dolphin, konsole, ksysguard, okular, gwenview, system settings, many KDE games (not tried all of them)) under wayland.

Other non-KDE applications I use seem to work fine (e.g. Firefox, Gnu Cash, FileZilla, Chromium, Android Studio).
Comment 9 Nate Graham 2019-07-22 17:22:32 UTC

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