Bug 371983 - Window size not remembered with multiple monitors
Summary: Window size not remembered with multiple monitors
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 17:26 UTC by Kaspars
Modified: 2016-11-02 18:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaspars 2016-11-02 17:26:48 UTC
OpenSUSE Leap 42.2 RC2 plasma5-desktop-5.8.2-1.1.x86_64. The same was with RC1.

Window size is not remembered after closing and opening application if multiple monitors are used.
If I unplug external monitor (TV via HDMI) and resize a window, its size is remembered after closing and opening.

Laptop with Intel and NVIDIA.

kaspars@acer-laptop:~> xrandr 
Screen 0: minimum 8 x 8, current 2966 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+1366+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1600x900      60.08*+
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   800x450       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1366x768      59.79*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 1 Martin Flöser 2016-11-02 18:21:33 UTC
I'm sorry, but it's not the task of the window manager to store the window sizes of a window. It's the task of each application to store it's window size.
Comment 2 Kaspars 2016-11-02 18:42:59 UTC
(In reply to Martin Gräßlin from comment #1)
> I'm sorry, but it's not the task of the window manager to store the window
> sizes of a window. It's the task of each application to store it's window
> size.

So, should I open a new bug report for each application that doesn't remember its size?
Comment 3 Martin Flöser 2016-11-02 18:47:25 UTC
(In reply to Kaspars from comment #2)
> So, should I open a new bug report for each application that doesn't
> remember its size?

I'm quite certain that not every application is affected by the problem. It is more likely that it falls into categories like e.g. "affects all Qt 5 applications". In that case it would be enough to report against qt.