Bug 427808 - Some applications don't remember their maximized state (at least on Wayland)
Summary: Some applications don't remember their maximized state (at least on Wayland)
Status: RESOLVED DUPLICATE of bug 427875
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 14:26 UTC by Claudius Ellsel
Modified: 2021-01-25 17:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudius Ellsel 2020-10-16 14:26:25 UTC
SUMMARY
-> See title

STEPS TO REPRODUCE
1. Use Wayland (not sure whether this is a requirement)
2. Open Dolphin (for example)
3. Maximize Dolphin
4. Close Dolphin
5. Open Dolphin again

OBSERVED RESULT
Dolphin opens up as a small window.

EXPECTED RESULT
Dolphin opens up maximized.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.14-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Xeon® CPU E3-1225 v3 @ 3.20GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics P4600/P4700

ADDITIONAL INFORMATION

Apps I have seen with this problem:
- Dolphin
- Gwenview (opened from dolphin)

Apps that don't seem to have this problem:
- Systemsettings
- Firefox
- GIMP

I have a multi-monitor setup, that might possibly be related.

The product I filed this for might also be wrong.
Comment 1 Patrick Silva 2020-10-16 17:17:11 UTC
I already saw ths bug on neon unstsble when I used a third party window decoration.
Comment 2 Vlad Zahorodnii 2020-10-16 18:59:26 UTC
Should be fixed in 5.20.1
Comment 3 Claudius Ellsel 2020-10-16 19:16:37 UTC
Nice, thanks!
Comment 4 Nate Graham 2020-10-16 20:03:49 UTC

*** This bug has been marked as a duplicate of bug 409919 ***
Comment 5 Claudius Ellsel 2020-10-16 21:10:38 UTC
(In reply to Nate Graham from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 409919 ***

This is most likely not a duplicate of that bug.

This is about an application that was closed not open maximized again.

The other one is about a maximized application still opening maximized again after closing, but when then restoring the original size the size is not the previous non-maximized size, but similarly to the maximized size. That is at least what the description from bug 409919 says.

Please review!
Comment 6 Claudius Ellsel 2020-10-16 21:17:21 UTC
Reading that bug again you were probably right with the duplicate. The original description just sounds different, but after having a closer look that behavior was probably what he meant, so everything fine.
Comment 7 Patrick Silva 2020-10-16 21:24:36 UTC
(In reply to Claudius Ellsel from comment #5)
> a maximized application still opening maximized again
> after closing, but when then restoring the original size the size is not the
> previous non-maximized size, but similarly to the maximized size.

I have reported this issue as bug 427124
Comment 8 Claudius Ellsel 2020-10-17 13:55:02 UTC
Interesting and thanks for the link. So there is actually such an issue as described in that bug's description. Maybe it just got "hijacked" and repurposed, then (we will probably never know :)).
Comment 9 Claudius Ellsel 2020-11-10 12:14:37 UTC
Reopening to further track the remaining problems discovered in the discussions started in https://bugs.kde.org/show_bug.cgi?id=409919. Might then be a duplicate of https://bugs.kde.org/show_bug.cgi?id=427875, though.
Comment 10 Claudius Ellsel 2021-01-25 16:55:48 UTC
Marking as duplicate, as I am rather confident they are the same. The symptoms are the same at least.

*** This bug has been marked as a duplicate of bug 427875 ***
Comment 11 Claudius Ellsel 2021-01-25 17:06:29 UTC
Removing the referenced commit and version fixed in, as that commit seems to fix a different problem, if I understand it correctly.