Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 515748 - width of right panel upon startup is too wide
Summary: width of right panel upon startup is too wide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lxpanel
Version: rawhide
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: LXDE
TreeView+ depends on / blocked
 
Reported: 2009-08-05 15:34 UTC by Steven Usdansky
Modified: 2009-08-09 19:44 UTC (History)
2 users (show)

Fixed In Version: 0.5.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-09 19:44:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
screenshot showing extra-wide rright panel (565.66 KB, image/png)
2009-08-05 21:57 UTC, Steven Usdansky
no flags Details

Description Steven Usdansky 2009-08-05 15:34:34 UTC
Description of problem:
right panel on my desktop appears 150 px wide; width is set in config file to 24 px wide

Version-Release number of selected component (if applicable):
lxpanel-0.5.1-1.fc12.i686

How reproducible:
100% of the time

Steps to Reproduce:
1. startx
  
Actual results:
Bottom panel appears with proper height (24 px)
Right panel appears with width of 150 px

Expected results:
Bottom panel appears with proper height (24 px)
Right panel appears with width of 24 px


Additional info:
Right-clicking on the panel and resetting the width to 24 px causes the panel to immediately appear with its proper width. I have no idea why 150px, but it is consistent.

Comment 1 Christoph Wickert 2009-08-05 21:21:17 UTC
Sorry, I'm having a hard time trying to understand what the problem is. Width or height? 

Could you please attach a screenshot showing both the panel and the preferences dialog?

Comment 2 Steven Usdansky 2009-08-05 21:57:52 UTC
Created attachment 356429 [details]
screenshot showing extra-wide rright panel

config file for right panel (~/.config/lxpanel/LXDE/panels/right) is corrrect at startup (see below). A possibly related bug is that the font used by the clock in the bottom panel appears to be Dejavu Sans, but should be Liberation Sans (as set in ~/.gtkrc-2.0).  

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=right
    allign=left
    margin=0
    widthtype=pixel
    width=576
    height=24
    transparent=0
    tintcolor=#000000
    alpha=0
    autohide=0
    heightwhenhidden=2
    setdocktype=1
    setpartialstrut=1
    usefontcolor=0
    fontcolor=#000000
    background=1
    backgroundfile=/home/a/pixmaps/bkgnd-v3.png
    iconsize=24
}
<snip>

Comment 3 Christoph Wickert 2009-08-05 22:08:09 UTC
Thanks a lot Steven. I will have to investigate this further. 0.5.1 is definitely a little buggy, this is why I have no intentions to push it to F-11.

BTW: Does the panel crash when you change Icon size to something but 24px?

Comment 4 Christoph Wickert 2009-08-06 01:34:22 UTC
Please try 0.5.2 from http://koji.fedoraproject.org/koji/taskinfo?taskID=1585381
I doubt it makes a difference, but let's see.

Comment 5 Steven Usdansky 2009-08-06 02:07:04 UTC
Panel seems to be happy at any size larger than 24 px (didn't try smaller sizes).
0.5.2 made no diffrence

Comment 6 Christoph Wickert 2009-08-09 19:44:19 UTC
Fixed in 0.5.3 

http://koji.fedoraproject.org/koji/taskinfo?taskID=1593446


Note You need to log in before you can comment on or make changes to this bug.