Bug 461405

Summary: Windows not correctly remembering size or maximisation state
Product: [Plasma] kwin Reporter: Will <kdebugs>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdebugs, metzpinguin, nate
Priority: NOR    
Version: 5.26.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: dolphinrc
gwenviewrc

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 ***