Bug 312906 - Window opens behind panel-at-the-top of laptop screen when a 2nd screen is active above laptop screen
Summary: Window opens behind panel-at-the-top of laptop screen when a 2nd screen is ac...
Status: RESOLVED DUPLICATE of bug 94470
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.9.97 (RC 2)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 20:19 UTC by Achim Bohnet
Modified: 2013-01-08 21:11 UTC (History)
0 users

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


Attachments
dolphin and konsole placed on startup behind the panel (1020.21 KB, image/png)
2013-01-08 20:24 UTC, Achim Bohnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2013-01-08 20:19:33 UTC
laptop and a external screen configured as above:
Screen 0: minimum 320 x 200, current 1920 x 2100, maximum 8192 x 8192
LVDS1 connected 1440x900+0+1200 (normal left inverted right x axis y axis) 331mm x 207mm
   1440x900       59.9*+   59.9     40.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+

When I open  e.g. dolphin or konsole, there window is placed behind the panel-at-the-top.
See attached screen shot



Reproducible: Always

Steps to Reproduce:
0. Move the KDE panel to the top of the laptop screen
1.  connect an external 2nd monitor
2.  configure 2nd screen as above the laptop screen
3.  open an application (dolphin or konsole) on laptop screen
4.  maximize the window
Actual Results:  
3. => The top window is hidden behind the panel-at-the-top of the laptop screen at if the panel would not there. (see screen shot)

4. => the window consumes the complete size of the laptop screen.  Again as in 3. acting as if there is no panel at the top of the laptop screen.

Expected Results:  
3. => Window opens below the panel (same behavior as with only the laptop screen)

4. => Don't use the vertical space consumed by the panel (same behavior as with only the laptop screen)
Comment 1 Achim Bohnet 2013-01-08 20:24:05 UTC
Created attachment 76318 [details]
dolphin and konsole placed on startup behind the panel

dolphin placed behind panel on startup (see step 3.)
maximized konsole is also behind panel (see step 4.)
Comment 2 Thomas Lübking 2013-01-08 20:44:04 UTC

*** This bug has been marked as a duplicate of bug 167852 ***
Comment 3 Thomas Lübking 2013-01-08 20:44:53 UTC
Sh... it's even older.

THis is a shortcoming of the NETWM spec.

*** This bug has been marked as a duplicate of bug 94470 ***
Comment 4 Achim Bohnet 2013-01-08 20:57:30 UTC
(In reply to comment #3)

Step 3. had nothing to do with maximized windows.   but ...

#$%^&  After moving the maximized konsole (see step 4.) to the second screen (with Alt-Click Drag) so I can click on the maximize button, that was hidden behind the panel, I can not reproduce "Applications placed at startup behind panel-at-the-top" (step 3.) anymore :-(
Now all opened applications honour the space occupied by the panel.

Maximixed windows hide behind panel (step 4) is still reproduceable.   So my report is a duplicate
Vertical maximizing (Middle click on maximize button) is okay.  It does not use the space occupied panel 


So Step 3. is now magically fixed.  Step 4. problem still exits.
Comment 5 Thomas Lübking 2013-01-08 21:11:36 UTC
It's not related to maximized windows.

The panel is treated "not there" in general because of that problem (it does not restrict the workspace at all)

What *could* be a problem (not tested) is if you use "topleft" placement, the panel is likely (still) ignored.

For "smart" placement such collision is tried to avoided, but if there's no "better" option, the panel is no hard restriction to prevent that (in general and aside any bugs i'd suggest to keep it below windows in this setup)

If the panel isn't configured, the topleft placement is iirc also used if the window tries to position it ouside the screen - this would somewhere fit some observations in bug #286146