Bug 218686 - panel doesn't resize on resolution change.
Summary: panel doesn't resize on resolution change.
Status: RESOLVED DUPLICATE of bug 265051
Alias: None
Product: plasma4
Classification: Plasma
Component: panel (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 233542 241396 241524 244614 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-14 20:18 UTC by Texstar
Modified: 2011-02-01 10:03 UTC (History)
11 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 Texstar 2009-12-14 20:18:46 UTC
Version:           KDE kderuntime/workspace (using KDE 4.3.4)
Compiler:          Gcc 4.4.1 PCLinuxOS KDE 4.3.4 
OS:                Linux
Installed from:    Unlisted Binary Package

If you switch to a lower desktop resolution the taskbar resizes to fit the lower resolution. If you switch back to a higher resolution the taskbar remains at the size of the lower resolution, doesn't expand back and requires manual adjustment.
Comment 1 Beat Wolf 2009-12-14 20:25:01 UTC
do you mean the taskbar or the whole panel? if unsure, please provide a screenshot.
Comment 2 Texstar 2009-12-15 01:48:23 UTC
I'm sorry I should have been more clear. I switched to a lower video resolution (1024x768)), logged into KDE 4 and the panel width adjusted to the lower resolution. I did this to prove to a forum member that a program worked independent of screen resolution. Later I changed my video resolution back to 1680x1050. When I logged back into KDE 4 the panel remained at the width of the 1024x768 resolution being somewhat squashed requiring manual adjust back to full width. Maybe it is not a bug but just the way it works?
Comment 3 Tassilo Horn 2010-05-10 09:13:38 UTC
I have the same problem since I upgraded from KDE 4.4.2 to 4.4.3, so it seems to be a regression.

I have a notebook with a resolution of 1280x800.  At work, I connect a 1920x1200 display and only use that.  I configured my plasma panel in the Panel Settings > More Settings to "Maximize Panel" so that it occupies all the horizontal space at the bottom of my screen.

With KDE 4.4.0 to 4.4.2, no matter if I used the big external monitor or the laptop display, the panel was always maximized.

Since KDE 4.4.3, when I use only the external one, the panel is justified left and is only 1280 pixel wide, so that I have to configure "Maximize Panel" every time I start the computer at work.
Comment 4 Marco Martin 2010-06-11 16:04:56 UTC
*** Bug 241396 has been marked as a duplicate of this bug. ***
Comment 5 Marco Martin 2010-06-12 10:46:17 UTC
*** Bug 241524 has been marked as a duplicate of this bug. ***
Comment 6 Chani 2010-06-12 21:07:58 UTC
I saw this  a week or two ago.

.. actually, I'm not certain whether I was using trunk, 4.3 or 4.4 at the time :/ I'll play with it tomorrow.
Comment 7 BartOtten 2010-09-01 10:34:23 UTC
I can confirm this bug and yes it is a regression.

Testcase:
- Make sure you set panelsize to Maximum
- Change to a lower resolution (if you can't go higher then the one you have as default)
- Change to a higher resolution

Result:
- Screen goes to a higher resolution
- Panel remains the width of the lower resolution

Expected result:
- Screen goes to a higher resolution
- Panel maximizes width
Comment 8 BartOtten 2010-09-08 11:38:24 UTC
Seems like this one is not been seen by KDE-folks so I took the liberty to add Aaron -Head of state- Seigo.

@Aaron: I am busy to keep KDE Netherlands alive, making some plasmoids with Plasmate and developing a Dutch Live-CD for 'the average user' so I hope you don't mind that I don't have enough energy to learn how to bugtrace ;-)
Comment 9 siegfried 2010-09-26 22:19:51 UTC
I have the same bug. When I switch from my 1280x800 laptop screen to my 1920x1080 desktop screen.

To resolve this issue, I've been playing around with plasma scripting.
http://aseigo.blogspot.com/2009/09/scripting-plasma-desktop.html

Plasma is aware of the resolution change, because:
print(screenGeometry(0).width);
gives as result 1920.

In order to maximize the panel, I have to manually change the length.
panelById(panelIds[0]).length = 1920; 

Or use a script found in a comment on the blog.
http://aseigo.blogspot.com/2009/09/scripting-plasma-desktop.html?showComment=1273231334121#c2503521660720057071
replacing height with width.
Comment 10 siegfried 2010-09-26 23:20:53 UTC
A small addition to my previous post. 
When I change from 1280x800 to 1920x1080, I have to manually maximize the panel. 

When I change back to 1280x800 and than change to 1920x1080, the panel is maximized automatically (like it should).

But after a restart off my computer, and switching to 1920x800. I have to manually resize the panel again.
Comment 11 Beat Wolf 2010-10-19 17:08:47 UTC
*** Bug 244614 has been marked as a duplicate of this bug. ***
Comment 12 Beat Wolf 2010-10-19 17:08:51 UTC
*** Bug 233542 has been marked as a duplicate of this bug. ***
Comment 13 BartOtten 2010-10-19 17:32:37 UTC
Please find the bug instead of duplicates ;-)
Comment 14 Aaron J. Seigo 2010-12-15 23:19:37 UTC
"Please find the bug instead of duplicates"

i'm sure you were attempting humor, but from the other side it comes off as a smart ass remark.


anyways, nailed the root cause of this last week and it's fixed in 4.6. unfortunately, systems affected by the bug may need to reset the size at each resolution or just remove plasma-desktoprc (NOT plasma-desktop-appletsrc!)
Comment 15 BartOtten 2010-12-15 23:33:32 UTC
Not knowing that it was my comment you quoted I laughed my ass off. So yeah, I think it is humor. I know everybody out there is working hard so I did not mean to offend someone.

Thanks for fixing the bug. Things like this make a desktop feel polished :-D
Comment 16 Pascal d'Hermilly 2010-12-29 09:41:01 UTC
I'm still experiencing this problem in 4.5.90 (4.6 RC1).
It does not automatically resize the panel even though I've changed it a few times after upgrading. I daily switch between 2 resolutions.
I did not delete plasma-desktoprc
Comment 17 BartOtten 2010-12-29 12:17:36 UTC
Aaron: It works, just remove plasma-desktoprc
Pascal: It does not work, I did not delete plasma-desktoprc

Find the differences
Comment 18 hyper_ch 2010-12-29 12:19:24 UTC
Well, I just reinstalled and updated to KDE 4.6 Beta and still no auto-resize. I didn't copy over the .kde folder so I ahve a new plasma-desktoprc
Comment 19 Pascal d'Hermilly 2010-12-29 12:39:17 UTC
@BartOtten
Aaron wrote "reset the size at each resolution OR just remove plasma-desktoprc"

I consider removing plasma-desktoprc a magic-trick that regular users should not be aware of - therefore am I testing that it works with the solution that I find acceptable.
Until now it doesn't work - but I'm thinking that it might be fixed after RC1 was tagged. ??
Comment 20 Pascal d'Hermilly 2010-12-30 09:31:06 UTC
@aseigo
I've tried to delete my plasma-desktoprc.
Now I'm experiencing something worse - the panel does not shrink when I lower the resolution, which results in me not being able to reach the cashew to change it.
We need to reopen the bug - the solution is not working as it should. Using RC1
Comment 21 Pascal d'Hermilly 2010-12-30 22:39:41 UTC
note for people with the too large panel issue:
It is possible to get the settings dialog (aka what the panel-cashew normally triggers)by right clicking (almost anywhere on) the panel -> panel settings -> panel settings.
Clicking "More settings" -> "Maximize panel"  will restore the panel to screen-size.
Comment 22 Aitor 2011-01-10 13:53:20 UTC
It's annoying to click on "Maximize panel" everytime y dock/undock my laptop when I arrive/leave home.
Comment 23 Aitor 2011-01-10 13:54:35 UTC
It's not fixed on kde 4.6 rc2
Comment 24 Pascal d'Hermilly 2011-01-10 14:34:49 UTC
I as well confirm that it is not fixed in 4.6 RC2 (Kubuntu packages)
Comment 25 Pascal d'Hermilly 2011-02-01 09:17:13 UTC
Not fixed in Final 4.6. Please re-open.
Comment 26 Aaron J. Seigo 2011-02-01 10:03:35 UTC

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