perlpanel-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Perlpanel-devel] autohiding


From: Florian Ragwitz
Subject: [Perlpanel-devel] autohiding
Date: Mon, 7 May 2007 22:11:19 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hi there,

after gnome-panel really pissed my off today I wanted to switch back to
perlpanel, which I already used some years before.

I don't like to see the panel all the time, therefor I activated the
autohide functionality in the configuration dialog. That didn't work too
well - although the autohide and autoshow methods where invoked as I
expected the panel didn't disappear.

Removing

  my ($x, $y) = $self->get_desired_position;

from sub autohide and adding

  $self->move;
  
instead of the above fixed that for me. This is how sub autoshow does it
as well.

It might me desireable to add a configurable delay before showing/hiding
and wrap the move call within a timeout:

  Glib::Timeout->add($whatever_the_user_entered, sub { $sef->move; return 0; });


Now that autohiding worked I noticed the following behaviour which bugs
me quite a lot: when moving the mouse over the panel it appears as
expected, but when clicking things it just disappears and doesn't fire
the clicked event for whatever I was clicking.

It only works if I click the buttons at the two pixel at the bottom of
the screen. those two pixels happen to be the size perlpanel has when
its being hidden (see $HIDE_OFFSET).

Do you have an idea on how to fix that?


TIA,
Flo

-- 
BOFH excuse #227:
Fatal error right in front of screen

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]