Bug 427867 - Several KDE apps always open maximized when "Allow KDE apps to remember the positions of their own windows" is enabled in "Window behavior" kcm
Summary: Several KDE apps always open maximized when "Allow KDE apps to remember the p...
Status: RESOLVED DUPLICATE of bug 426813
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-17 14:37 UTC by Patrick Silva
Modified: 2020-10-21 19:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
dolphinrc file (3.76 KB, text/plain)
2020-10-21 17:55 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-17 14:37:35 UTC
SUMMARY
Affected KDE apps:
Dolphin
Konsole
Kinfocenter
System Settings
Ark

Not affected KDE apps:
Kate
Gwenview

STEPS TO REPRODUCE
1. make sure "Allow KDE apps to remember the positions of their own windows"  option is checked in "Advanced" tab of "Window behavior" kcm
2. open any affected app mentioned above and restore its window
3. re-open the app used in the step 2

OBSERVED RESULT
the app opens maximized

EXPECTED RESULT
the app should remember its window size after the step 2

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Comment 1 Nate Graham 2020-10-21 04:33:30 UTC
> and restore its window
Can you clarify what this means?

Are these apps maximized when closed?

I will fix this bug ASAP as soon as I have a reproducible case, which is why I'd really like to find one. :)
Comment 2 Patrick Silva 2020-10-21 15:32:45 UTC
(In reply to Nate Graham from comment #1)
> > and restore its window
> Can you clarify what this means?
> 
> Are these apps maximized when closed?
> 
> I will fix this bug ASAP as soon as I have a reproducible case, which is why
> I'd really like to find one. :)

clearer steps:
1. make sure "Allow KDE apps to remember the positions of their own windows"  option is checked in "Advanced" tab of "Window behavior" kcm
2. open any affected app mentioned above (it opens maximized on my system)
3. restore the window by clicking on "Restore" button of its window decoration
4. close the app
5. re-open the app

OBSERVED RESULT
the app opens maximized

EXPECTED RESULT
after the last step, the app should open with the window size restored
in the step 3, not maximized
Comment 3 Nate Graham 2020-10-21 17:23:30 UTC
I still cannot reproduce for any of those apps when following your instructions exactly. :(

I suspect this part is the key: 

> (it opens maximized on my system)
Was it supposed to open maximized? Was it maximized before? Can you attach the rc file of any or all the affected apps? e.g. ~/.config/dolphinrc
Comment 4 Patrick Silva 2020-10-21 17:55:33 UTC
Created attachment 132616 [details]
dolphinrc file

The affected apps open maximized regardless them were maximized before or not.
I'm attaching my dolphinrc file.
Comment 5 Nate Graham 2020-10-21 19:35:28 UTC
I thought so. Based on the config file, it's the same issue as Bug 426813.

Window-Maximized 1080x1920=true
Window-Maximized 900x1600=true

Those shouldn't be in there. I guess the problem is that these entries aren't being removed when the window is restored, or when it's somehow gotten de-maximized anyway.

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