! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
panel moves away from right screen border after closing window
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Adam Sloboda 2006-06-06 14:31:25 CEST
User-Agent:       Opera/9.00 (X11; Linux i686; U; en)
Build Identifier: 4.3.90.2

Freely moveable panel with iconbox applet remembers the position and doesn't stick to the right screen border.

Reproducible: Always

Steps to Reproduce:
1. create freely moveable panel with iconbox applet
2. place it to the right screen border
3. open and close window

Actual Results:  
Panel did not move back to the right screen border.

Expected Results:  
Panel should stick to the border.
Comment 1 Jasper Huijsmans editbugs 2006-06-07 09:34:49 CEST
Hmm, yes, I have seen this too. I don't know what happens here :( I think it might be some sort of race condition. 

Thanks for the report.
Comment 2 Lalo Martins 2006-06-18 03:29:01 CEST
I have seen this too, in fact I thought it was just the standard behaviour, maybe sticking to window ends wasn't implemented yet :-)

While I don't have an iconbox or task list on the right-hand panel, I have both the systray (where icons come and go) and weather (which grows and shrinks a few pixels when it updates its data).

An idea: floating panels that have a handle on only one side should probably "stick" to that handle when they grow or shrink, regardless of which screen end is closer.
Comment 3 Lalo Martins 2006-06-18 03:33:24 CEST
I realise my idea is only tangentially related, so I entered it as a new enhancement request at #1933
Comment 4 Jasper Huijsmans editbugs 2006-09-24 18:28:45 CEST
Oops, reading this again, I see that I totally misread your report. I thought you meant that the floating panel sometimes did not remember its position between restarts.

What you describe is indeed the behavior that is currently implemented for freely moveable panels. There is no automatic repositioning, except to keep it inside the screen.

If you want a panel that sticks to the screen edge, you will need to use a fixed position.

I may get around to implementing a smarter positioning one day, but certainly not before the 4.4.0 release.
Comment 5 Jan Reitz 2007-01-24 20:36:32 CET
(In reply to comment #4)
> Oops, reading this again, I see that I totally misread your report. I thought
> you meant that the floating panel sometimes did not remember its position
> between restarts.

I got exactly the Problem you describe there with 4.4.0, but didnt have it with 4.3.99.2 (at least i didnt mention)

One Panel (Freely movable + Vertical) positioned at the top, but neither at right or left.
After a restart its in top-left corner.

Is there a Bug for that, or does there need to be, one since you know it ?
Comment 6 Jasper Huijsmans editbugs 2007-01-25 18:18:13 CET
(In reply to comment #5)
> (In reply to comment #4)
> > Oops, reading this again, I see that I totally misread your report. I thought
> > you meant that the floating panel sometimes did not remember its position
> > between restarts.
> 
> I got exactly the Problem you describe there with 4.4.0, but didnt have it with
> 4.3.99.2 (at least i didnt mention)
> 
> One Panel (Freely movable + Vertical) positioned at the top, but neither at
> right or left.
> After a restart its in top-left corner.
> 
> Is there a Bug for that, or does there need to be, one since you know it ?
> 

It's alright. I'll use this report to track the bug.
Comment 7 Harold Aling 2007-09-23 20:31:15 CEST
(In reply to comment #6)
> It's alright. I'll use this report to track the bug.
> 

ANy news on this one?
Comment 8 Jasper Huijsmans editbugs 2007-09-23 20:33:50 CEST
(In reply to comment #7)
> (In reply to comment #6)
> > It's alright. I'll use this report to track the bug.
> > 
> 
> ANy news on this one?
> 

I think Nick may have fixed this, but I'm not sure.
Comment 9 Nick Schermer editbugs 2007-09-24 07:01:15 CEST
No, panels still don't move back to their original position after expanding.
Comment 10 Nick Schermer editbugs 2009-05-25 07:17:20 CEST
The new panel code repositions using a base point, which is the center of the panel. You can also snap a panel to a screen edge (ie. that's different then a corner). That should cover the problems in this bug.
Comment 11 Nick Schermer editbugs 2010-02-27 15:08:49 CET
Devel branch has been merged in master. A 4.7.0 release will follow soon. If you think this bug is not fixed? Feel free to reopen the bug.

Bug #1904

Reported by:
Adam Sloboda
Reported on: 2006-06-06
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
Unspecified

Attachments

Additional information