Bug 461405 - Windows not correctly remembering size or maximisation state
Summary: Windows not correctly remembering size or maximisation state
Status: RESOLVED DUPLICATE of bug 460260
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.26.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 09:50 UTC by Will
Modified: 2022-11-29 17:54 UTC (History)
3 users (show)

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


Attachments
dolphinrc (720 bytes, text/plain)
2022-11-09 11:17 UTC, Will
Details
gwenviewrc (837 bytes, text/plain)
2022-11-09 11:18 UTC, Will
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will 2022-11-04 09:50:10 UTC
SUMMARY

On  a new, un-customised install of Plasma, there are several applications that don't correctly remember their size or maximisation state. One example is Dolphin, and another is Gwenview.

STEPS TO REPRODUCE
1. Install Plasma, leaving settings unchanged
2. Open Dolphin, and resize the window
3. Close Dolphin
4. Re-open Dolphin

Dolphin doesn't exhibit the "forgetting maximisation" behaviour, but it does forget resizes. Gwenview forgets both resizes and whether it's maximised.

Apologies if this is two separate bugs in Dolphin and Gwenview, it happens to multiple windows so I suspected some underlying common cause.

OBSERVED RESULT
Dolphin window is the same size as when it was originally opened.

EXPECTED RESULT
Dolphin window should be the size you resized it to.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.0.6
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
This is on Wayland with the open-source AMD driver. I have multiple monitors, both scaled to 125%.
Comment 1 Nate Graham 2022-11-04 17:36:08 UTC
Are you using X11 or Wayland?
Comment 2 Will 2022-11-04 23:18:47 UTC
(In reply to Nate Graham from comment #1)
> Are you using X11 or Wayland?

Hi Nate, this is on Wayland.
Comment 3 Nate Graham 2022-11-07 18:24:25 UTC
Can you attach your ~/.config/dolphinrc and ~/.config/gwenviewrc files?
Comment 4 Will 2022-11-09 11:17:54 UTC
Created attachment 153615 [details]
dolphinrc
Comment 5 Will 2022-11-09 11:18:43 UTC
Created attachment 153616 [details]
gwenviewrc
Comment 6 Will 2022-11-09 11:21:36 UTC
Hi Nate, no problems - I've attached both of those. I redacted the `Recent Files` section of my gwenviewrc.

As an aside, Gwenview is now remembering the window size and maximisation state - I have no idea what changed, maybe it's just a slow learner ;-)

Dolphin is still misbehaving, though.
Comment 7 Nate Graham 2022-11-09 19:41:31 UTC
Hmm, I don't see in there what I was expecting to see.
Comment 8 Maik Qualmann 2022-11-25 07:03:32 UTC
Hi Nate,

We have the same problem here with digiKam under Windows (Bug 460779). This problem only occurs with the latest KF5 versions. What do you expect for a problem in the config file when the problem occurs?

Maik
Comment 9 Nate Graham 2022-11-29 17:54:46 UTC

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