Bug 339297 - Making panel smaller moves it 1px from the screen edge
Summary: Making panel smaller moves it 1px from the screen edge
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 12:36 UTC by Martin Klapetek
Modified: 2015-02-26 08:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (29.21 KB, image/png)
2014-09-22 12:36 UTC, Martin Klapetek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klapetek 2014-09-22 12:36:06 UTC
Created attachment 88789 [details]
screenshot

Making panel smaller (by dragging the "Height" button) results in the panel being moved 1px from the screen edge. This causes eg. the taskmanager to not work when mouse is slammed against the screenedge as the panel is actually not sitting on the screenedge.

Making the panel bigger puts it back on the edge, smaller again moves it.

On the screenshot you can see a thin orange line at the bottom - that's the wallpaper (and it shows the 1px offset quite nicely).

Reproducible: always
Comment 1 David Edmundson 2014-09-23 00:38:46 UTC
Can you attach your plasmarc
Comment 2 Martin Klapetek 2014-09-23 06:55:46 UTC
Not sure how is that going to help but here you go

[Theme]
name=breeze-dark

[Wallpapers]
usersWallpapers=/home/mck182/Pictures/MINI moon/IMG_2862_v3.JPG,/home/mck182/Pictures/SF 2014/IMG_2031_2_3_tonemapped.jpg
Comment 3 David Edmundson 2014-09-23 07:36:25 UTC
I meant 
plasma-org.kde.plasma.desktop-appletsrc
Comment 4 Martin Klapetek 2014-09-23 07:45:59 UTC
$ cat ~/.config5/plasma-org.kde.plasma.desktop-appletsrc     
[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.contextmenu
wheel:Vertical;NoModifier=org.kde.switchdesktop

[ActionPlugins][1]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.contextmenu

[Containments][1]
activityId=71186072-a201-4950-8be4-579ebb942c46
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][1][Applets][16]
immutability=1
plugin=org.kde.plasma.kicker

[Containments][1][Applets][19]
immutability=1
plugin=org.kde.plasma.taskmanager

[Containments][1][Applets][20]
immutability=1
plugin=org.kde.plasma.digitalclock
                                                                                                                                                                                                                                                                              
[Containments][1][Applets][20][Configuration][Appearance]
dateFormat=longDate
showDate=true

[Containments][1][Applets][20][Configuration][ConfigDialog]
DialogHeight=752
DialogWidth=980

[Containments][1][Applets][5]
immutability=1
plugin=org.kde.plasma.systemtray

[Containments][1][Applets][5][Configuration][ConfigDialog]
DialogHeight=638
DialogWidth=640

[Containments][1][Applets][5][Configuration][Containments][9]
formfactor=2
location=4

[Containments][1][Applets][5][Configuration][Containments][9][Applets][10]
immutability=1
plugin=org.kde.plasma.battery

[Containments][1][Applets][5][Configuration][Containments][9][Applets][11]
immutability=1
plugin=org.kde.plasma.clipboard

[Containments][1][Applets][5][Configuration][Containments][9][Applets][12]
immutability=1
plugin=org.kde.plasma.devicenotifier

[Containments][1][Applets][5][Configuration][Containments][9][Applets][13]
immutability=1
plugin=org.kde.plasma.notifications

[Containments][1][Applets][5][Configuration][Containments][9][Applets][14]
immutability=1
plugin=org.kde.plasma.networkmanagement

[Containments][1][Applets][5][Configuration][Containments][9][Applets][17]
immutability=1
plugin=org.kde.plasma.mediacontroller

[Containments][1][Applets][5][Configuration][General]
hiddenItems=,chrome_app_indicator_1

[Containments][1][ConfigDialog]
DialogHeight=87
DialogWidth=1920

[Containments][1][General]
AppletOrder=16;19;5;20

[Containments][15]
activityId=879442d9-bee5-4247-b0b4-7e6b86010b6f
formfactor=0
immutability=1
lastScreen=1
location=0
plugin=org.kde.desktopcontainment
wallpaperplugin=org.kde.image

[Containments][15][ConfigDialog]
DialogHeight=576
DialogWidth=640

[Containments][15][Wallpaper][General]
height=900
width=1440

[Containments][15][Wallpaper][org.kde.image][General]
Image=file:///home/mck182/Pictures/SF 2014/IMG_2031_2_3_tonemapped.jpg
SlidePaths=
height=900
width=1440

[Containments][8]
activityId=879442d9-bee5-4247-b0b4-7e6b86010b6f
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.desktopcontainment
wallpaperplugin=org.kde.image

[Containments][8][ConfigDialog]
DialogHeight=576
DialogWidth=640

[Containments][8][Wallpaper][General]
Image=file:///home/mck182/Pictures/MINI moon/IMG_2862_v3.JPG
SlidePaths=
height=1200
width=1920

[Containments][8][Wallpaper][org.kde.image][General]
Image=file:///opt/kde5/share/wallpapers/Next/contents/images/2560x1440.png
SlidePaths=
height=1200
width=1920
Comment 5 David Edmundson 2014-09-25 15:31:50 UTC
*** Bug 339323 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2014-09-30 22:57:42 UTC
Happened to me today. Confirming.
Comment 7 Marco Martin 2014-10-15 12:41:06 UTC
can't reproduce at the moment.
this happens only when you resize it at runtime, not at startup, right?
so should be an off by one problem in computing the position, i guess it would happen only for bottom and right panels, not top and left
Comment 8 Martin Klapetek 2014-10-15 12:51:14 UTC
Runtime only, yes. And can't seem to reproduce anymore, so I'll close it now and reopen if it still happens.
Comment 9 Mykola Krachkovsky 2015-02-23 09:52:13 UTC
I still have this issue with vertical panel, like said at https://bugs.kde.org/show_bug.cgi?id=339323 (was closed as duplicate of this). Haven't checked other panel placements.
Comment 10 Mykola Krachkovsky 2015-02-26 08:20:14 UTC
I have checked 4 placements, so my conclusion only vertical right placement still has 1 pixel gap. I can't change state of current bug, so I reopen old one.