Bug 428334 - Window opens with wrong size when using two monitors
Summary: Window opens with wrong size when using two monitors
Status: RESOLVED DUPLICATE of bug 427875
Alias: None
Product: frameworks-kconfig
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.75.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthew Dawson
URL:
Keywords: multiscreen, usability
Depends on:
Blocks:
 
Reported: 2020-10-27 11:51 UTC by george fb
Modified: 2020-12-07 18:18 UTC (History)
4 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 george fb 2020-10-27 11:51:44 UTC
SUMMARY
I have a 2560x1440 monitor and a 1920x1080 tv as second monitor.

          -----------------
--------- |               |
|       | |    primary    |
|  tv   | |    monitor    |
--------- |               |
          -----------------

With one monitor size and position is respected when using
"allow kde apps to remember the position ..." setting
or window rules (remember size and position).

With two monitors and "allow kde apps to remember the position ..." setting
and/or window rules, if I close the app in the left monitor,
it opens in the left screen with the size and position it had when closed.

But if I close it in the right monitor it doesn't,
it opens in the correct position but with wrong size;
very small 640x514.

Tested app was kate.

STEPS TO REPRODUCE
1a. Enable "allow kde apps to remember the position ..." setting
1b. Setup window rules size and position to remember
2. Open app
3. Resize and reposition
4. Close app
5. Reopen app

OBSERVED RESULT
App opens with wrong size, if closed in right monitor.

EXPECTED RESULT
App opens with the size it had when last closed,
regardless in which monitor it was closed.

Operating System: openSUSE Tumbleweed 20201025
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Graphics Processor: Nvidia GTX 750 Ti
Comment 1 Nate Graham 2020-10-29 19:29:00 UTC
Was this working before but broke recently?
Comment 2 george fb 2020-10-29 19:51:14 UTC
I used just one monitor until recently (about ten days) so I can't say.
Comment 3 george fb 2020-10-29 20:08:12 UTC
This happens on X11.
Comment 4 evea 2020-11-08 22:36:07 UTC
(In reply to Nate Graham from comment #1)
> Was this working before but broke recently?

I can confirm this on 5.20.2. It works when disabling the seconds Monitor.

The same thing (it did not remember windows size) happened in previous Versions.
Comment 5 Nate Graham 2020-12-07 18:18:22 UTC

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