Bug 277248 - Panel placed to upper edge of screen appears under windowed non-KDE and KDE application window
Summary: Panel placed to upper edge of screen appears under windowed non-KDE and KDE a...
Status: RESOLVED DUPLICATE of bug 272663
Alias: None
Product: plasma4
Classification: Plasma
Component: panel (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 23:01 UTC by Robert Puskas
Modified: 2012-01-19 11:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A screenshot of the misplaced panel (579.79 KB, image/png)
2011-07-06 23:03 UTC, Robert Puskas
Details
The panel is still misplaced after the window has been resized (631.94 KB, image/png)
2011-07-06 23:06 UTC, Robert Puskas
Details
Panel appears normally after window has been moved away from upper edge of screen (578.81 KB, image/png)
2011-07-06 23:07 UTC, Robert Puskas
Details
wrong possition (200.39 KB, image/png)
2011-08-08 10:25 UTC, Ladislav Nesnera
Details
configuration with bug (10.70 KB, application/x-trash)
2011-08-30 10:50 UTC, k_the_first
Details
config with bug (2.97 KB, application/x-trash)
2011-08-30 10:54 UTC, k_the_first
Details
Panel move from top to middle screen at each log in (802.63 KB, image/png)
2011-11-01 13:21 UTC, Yvan Da Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Puskas 2011-07-06 23:01:42 UTC
Version:           unspecified (using KDE 4.6.4) 
OS:                Linux

This bug is easily reproducible if the panel is placed at the upper edge of the screen, and autohide is turned on. When a non-KDE application is opened, like xine-ui, and the window is placed on the desktop so that its upper edge touches the upper border of the screen, the panel will not emerge where it should (upper edge of sceen). Instead, it will appear just under the edge of the non-KDE application, even if it is in the center of the screen (see screenshots). If the non-KDE application's window is resized, the panel still appears just under the lower edge of the window.
If the window is moved away from the upper part of the screen, so that the edge doesn't touch the upper border of the screen, the panel goes back to its proper place (not at once, but after some time).

Reproducible: Always

Steps to Reproduce:
1. create a new panel to the upper edge of the screen (2 panels exist now)
2. set the autohide option on both panels
3. open a non-KDE application, like xine (xine-ui package)
4. place the window, so that it actually touches the upper border of the screen
5. Try to unhide the panel by moving the cursor to the upper edge of the screen

Actual Results:  
The panel doesn't appear where it should, instead it appears right under the non-KDE application

Expected Results:  
The panel should appear at the upper edge of the screen.

Crystal window decoration
Aya theme
Less compositing effects than default settings suggest
Cover switch (with slide) animation for alt+tab
Comment 1 Robert Puskas 2011-07-06 23:03:56 UTC
Created attachment 61656 [details]
A screenshot of the misplaced panel
Comment 2 Robert Puskas 2011-07-06 23:06:05 UTC
Created attachment 61657 [details]
The panel is still misplaced after the window has been resized
Comment 3 Robert Puskas 2011-07-06 23:07:28 UTC
Created attachment 61658 [details]
Panel appears normally after window has been moved away from upper edge of screen
Comment 4 Robert Puskas 2011-07-16 16:19:36 UTC
Well, after some usage, it appears, that the bug is not restricted to non-KDE applications, but is present with KDE applications too. The bug appears only if the particular application is in windowed mode, and the window is not maximized.

Some other info that might help: The problem doesn't occur on a computer, where nvidia driver is being used. As far as I know, this bug appears if an intel graphics card is underneath. Both systems are debian testing distros, and are kept updated.

If I can find out more, I'll add an additional comment.
Comment 5 Ladislav Nesnera 2011-08-08 10:25:01 UTC
Created attachment 62655 [details]
wrong possition

I can confirm this bug but in vertical orientation (look at attached file). I noticed it several version ago. I have
Qt: 4.7.2
KDE Development Platform: 4.7.00 (4.7.0)
Comment 6 k_the_first 2011-08-30 10:50:40 UTC
Created attachment 63228 [details]
configuration with bug
Comment 7 k_the_first 2011-08-30 10:50:56 UTC
I've had the same problem top auto-hide- panel fell of its edge if a not fullscreen application was placed near the edge. i got this solved by creating a new plasma configuration.

kquitapp plasma-desktop 

mv ~/.kde/share/config/plasma-desktop-appletsrc ~/.kde/share/config/plasma-desktop-appletsrc.backup 
mv ~/.kde/share/config/plasma-desktoprc ~/.kde/share/config/plasma-desktoprc.backup  

plasma-desktop

found this on: http://wiki.ubuntuusers.de/PLasma/KDE_Arbeitsfl%C3%A4che
Comment 8 k_the_first 2011-08-30 10:54:37 UTC
Created attachment 63230 [details]
config with bug
Comment 9 antonio.toma 2011-10-19 08:39:33 UTC
Experiencing the same on KDE 4.7.2 + ArchLinux (but the thing started with 4.6 if I remember well).
It is not limited to non-KDE apps.
Fix in comment #7 didn't work.
Any idea?
Comment 10 Yvan Da Silva 2011-11-01 13:21:01 UTC
Created attachment 65113 [details]
Panel move from top to middle screen at each log in 

I used my panel for months on top of the screen without any problem, but since few days my panel is moving to middle screen at each boot.

I don't need to move it back to the top, only clicking on the "Screen edge" button when wanting to move the panel makes it go automatically back to the top.

It's a very very weird behavior and It might be related border effect to placement of that panel in pixels. (I don't mean the border effect of the screen, but the border effect of the position values of that panel).
Comment 11 antonio.toma 2011-11-06 08:33:39 UTC
I can confirm what Yvan says in comment #10.
Any resize action on the panel, brings it back to the top until the end of the session, regardless of the applications I open.
When I start a new session the problem is back.
Something must be wrong in determining the panel position relative to the borders of the screen.
Comment 12 antonio.toma 2011-11-08 21:31:39 UTC
I'm not sure this is relevant, but my machine is a netbook with 1024x600 screen and 4 virtual desktops defined.
Comment 13 Javier Ortega Conde (Malkavian) 2011-11-23 00:09:28 UTC
Same here with Debian testing and KDE 4.6.5. 

Repaired in the past with k_the_first #7 instructions just happened again today and re-repaired with same instructions but only moving/deleting plasma-desktoprc and not plasma-desktop-appletsrc
Comment 14 Thijs 2012-01-19 11:48:06 UTC

*** This bug has been marked as a duplicate of bug 272663 ***
Comment 15 Thijs 2012-01-19 11:58:33 UTC
The first bug report is on the autohide panel. This may very well  be related
to the wandering panel after start up/crash/..., but let's be careful, and
split the two bugs. On both issues there are a bunch of reports, all similarly
discussed. So bug 272663 for the autohide issue, and bug 281029 for the startup
one.