After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 171938 - auto-hide panel jumping across the screen
auto-hide panel jumping across the screen
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 323420 348723 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-29 05:51 UTC by Gabriel de Perthuis
Modified: 2006-08-08 01:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gconf dump (451 bytes, text/plain)
2005-03-29 05:52 UTC, Gabriel de Perthuis
  Details
gconf dump (169.25 KB, text/plain)
2005-03-30 14:59 UTC, Gabriel de Perthuis
  Details
dump, again (169.24 KB, text/plain)
2005-04-02 12:12 UTC, Gabriel de Perthuis
  Details
gconf dump (118.05 KB, application/octet-stream)
2005-11-30 00:05 UTC, Touko Apajalahti
  Details
another gconf dump (121.41 KB, application/octet-stream)
2006-04-01 21:05 UTC, Touko Apajalahti
  Details
My configuration (157.86 KB, application/octet-stream)
2006-06-12 18:02 UTC, Fabio Bonelli
  Details
A fix to the "jumping panel" problem. (636 bytes, patch)
2006-08-06 04:15 UTC, Зоран Рилак
committed Details | Review

Description Gabriel de Perthuis 2005-03-29 05:51:15 UTC
I have an autohide panel at the bottom of the screen - gconf dump attached, done
right this time - and it sometimes, when I make it show up, jumps at the top of
the screen. Waving the mouse at it again, it may decide to come down.

This is undeterministic behavior, which is bad.
It may have to do with my having set the auto-hide size to 0, to avoid wasting 6
pixels of screen. I haven't reproduced it since when I just set auto_hide_size to 1.

If auto_hide_size really can't be 0, there should be some checking on gconf
values to stay sure they are within bounds.

This appearead about 1 month ago during 2.9 .
Comment 1 Gabriel de Perthuis 2005-03-29 05:52:52 UTC
Created attachment 39370 [details]
gconf dump
Comment 2 Vincent Untz 2005-03-30 14:23:54 UTC
Could you do the dump with this command: gconftool-2 --dump /apps/panel >
/tmp/panel.conf, and then attach the file here?

It'll be easier for me :-)
Comment 3 Gabriel de Perthuis 2005-03-30 14:59:46 UTC
Created attachment 39441 [details]
gconf dump

Sure, I guess I had attached an empty panel.
I have still lots to learn about making gconf dumps against panel bugs.

Also, the 1-pixel workaround does work, but it's not the best solution.
Comment 4 Vincent Untz 2005-03-31 18:53:25 UTC
> This is undeterministic behavior, which is bad.

Thanks for the dump. I can not reproduce here. Does it happen often or once a day?

> If auto_hide_size really can't be 0, there should be some checking on gconf
> values to stay sure they are within bounds.

If you set auto_hide_size to 0, then the panel will use 1 instead of 0.
Comment 5 Gabriel de Perthuis 2005-03-31 19:20:32 UTC
You're right, I can't revert to 0 pixel. Beats me.
You may close it.
Comment 6 Vincent Untz 2005-03-31 19:35:50 UTC
Gabriel: okay, I'm closing. Please reopen if you can see this again, though.
This is really weird.
Comment 7 Gabriel de Perthuis 2005-04-02 10:48:41 UTC
OK, I see.
You have to enable panel animation for this. The size of the panel doesn't
matter, it also works with a 6-pix panel.
Comment 8 Vincent Untz 2005-04-02 11:03:45 UTC
Hrm... What setting is "panel animation"? Is it
/apps/panel/toplevels/panel_0/enable_animations? It's enabled by default, afaik.

Is it always reproducable with this setting?

New gconf dump please :-)
Comment 9 Gabriel de Perthuis 2005-04-02 12:09:21 UTC
Yes, just set enable_animations. I had a look at the code, and the path is
completely different. gdb traces are slightly complicated so I didn't get further.
To repro, you just have to use it for a while.
Comment 10 Gabriel de Perthuis 2005-04-02 12:12:35 UTC
Created attachment 39594 [details]
dump, again

for reference
Comment 11 Touko Apajalahti 2005-11-30 00:05:35 UTC
Created attachment 55395 [details]
gconf dump

I'm experiencing the same behavior on two different computers, one running
gnome 2.10 and the other 2.12. This dump is from the 2.12 one. It seems to mee
that the jump appears usually when there's heavy load on the graphics like
loading a heavy web page with firefox.
Comment 12 Vincent Untz 2005-12-31 14:52:22 UTC
*** Bug 323420 has been marked as a duplicate of this bug. ***
Comment 13 Byeong-taek Lee 2006-03-25 09:01:54 UTC
This problem seems to happen in gnome 2.14.
When I make a bottom panel unexpand, it jumps to top.
Once it occurs, i cannot fix it at properties of panel.
Only changing in gconf fixs the problem, but that is just a workaound.
Comment 14 Touko Apajalahti 2006-04-01 21:02:52 UTC
I'm also having still the same problem under version 2.14.0 (using Ubuntu Dapper). Happens maybe once in 2 days or so. I can change it back to bottom straight from the properties of panel.   
Comment 15 Touko Apajalahti 2006-04-01 21:05:00 UTC
Created attachment 62566 [details]
another gconf dump
Comment 16 Fabio Bonelli 2006-06-12 18:02:45 UTC
Created attachment 67204 [details]
My configuration

I have to say that this bug is a major pain.

I managed to reproduce it someway: if I move the pointer *very* fast in and out and repeat that for a bunch of seconds.

I can't reproduce this with enable_animation = FALSE

(my auto_hide_size is 1, btw)
Comment 17 Fabio Bonelli 2006-07-26 08:35:33 UTC
The bug didn't show up when enable_animation were FALSE but, now that I have got a new computer (a Celeron D @ ~3 GHz) I can't reproduce this at all.

You need a 700-800MHz CPU or less in order to trigger it (or a heavily loaded CPU, I guess).
Comment 18 Jeremy Nickurak 2006-07-26 15:35:17 UTC
*** Bug 348723 has been marked as a duplicate of this bug. ***
Comment 19 Jeremy Nickurak 2006-07-26 15:39:22 UTC
Occurs frequently and nondetirministically here in regular usage.

Best way to reliably reproduce it (from my other bug I just marked as duplicate):

- Run brightside in desktop-switch mode
- Position an auto-hide panel vertically on the right side of the screen
- quickly & repeatedly switch back and forth between workspaces, making the
mouse pass back and forth "across" the auto-hide panel.

I'm also on a relatively slow machine (duron 850). Perhaps people who are having trouble replicating it should run some cpu-intensive tasks in the background while attempting it?

I can duplicate this reliably this way under Metacity and Openbox. I've seen it
happen without running brightside, although I can't duplicate it reliably.
Comment 20 Sebastien Bacher 2006-07-30 14:37:44 UTC
Ubuntu bug about that: https://launchpad.net/products/gnome-panel/+bug/48226
Comment 21 Зоран Рилак 2006-08-06 04:15:47 UTC
Created attachment 70293 [details] [review]
A fix to the "jumping panel" problem.

Here's a patch for the gnome-panel that solves the eternal "Jumping Panel" feature.  Original code fails to reset the "animating" field to FALSE alongside the animation end coordinates (which are set to -1), thus leading the panel into thinking that it should actually end up at -1, -1.
Comment 22 Зоран Рилак 2006-08-06 22:47:45 UTC
The patch is simple but it works because the patched piece of code only executes under special circumstances (review code for details), after which the panel continues animating itself to the opposite side of the screen and the orientation gets automatically adjusted.  This occurs only with panels whose origin x and y are non-zero, i.e. bottom and right panels.
Comment 23 Vincent Untz 2006-08-08 01:36:20 UTC
Thanks for the patch!
Running on a slow CPU is really key to reproduce (or using 3D without accelerated drivers ;-)).