Bug 198030 - Panel Auto-Hide Duration/Delay Missing
Summary: Panel Auto-Hide Duration/Delay Missing
Status: RESOLVED DUPLICATE of bug 267277
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 06:50 UTC by David Rankin
Modified: 2012-06-22 09:40 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Adds a delay to showing and hiding autohide panels (7.68 KB, patch)
2010-01-26 12:31 UTC, Corey O'Connor
Details
Adds a delay to showing and hiding autohide panels. (36.76 KB, patch)
2010-02-02 08:09 UTC, Corey O'Connor
Details
Add configurable delays ; plus other autohide changes (40.12 KB, patch)
2010-02-02 13:56 UTC, Corey O'Connor
Details
Add configurable delays ; plus other autohide changes (41.56 KB, patch)
2010-02-04 22:29 UTC, Corey O'Connor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Rankin 2009-06-27 06:50:06 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

In kde 4.3 beta 2 the ability to set the Auto-Hide delay of the panel to 1, 2, 3 seconds or so is missing. This makes using auto-hide very difficult for users with unsteady hands or lack of mouse control. Attempting to traverse the panel left-right right-left with auto-hide active, if you move the mouse off the panel even for a milisecond the panel disappears.

The auto-hide delay setting in seconds found in kde3 completely eliminated this hazard while still allowing full use of the auto-hide feature.

This needs to be fixed for 4.3.
Comment 1 Aaron J. Seigo 2009-06-27 07:03:16 UTC
the timeout is currently 200ms
Comment 2 S. Burmeister 2009-06-27 08:28:03 UTC
Could one not use the "windows can cover" feature if one has an unsteady hand or lack of mouse movement control? That way it only hides after a click which is not that much work and there is no need for additianal GUI options.

Unhiding stays the same.
Comment 3 ivan-kde 2009-08-12 00:58:08 UTC
(In reply to comment #2)
> Could one not use the "windows can cover" feature if one has an unsteady hand
> or lack of mouse movement control?

sure, one could not use this feature at all.  that's not really an answer to a feature request.

i would certainly say that i don't consider that i don't consider myself to have a particularly unsteady hand or lack of movement control, yet i find the default delay frustrating since upgrading from kde v3 to v4.

> That way it only hides after a click which
> is not that much work and there is no need for additianal GUI options.

is "no need for additional GUI options" such an overriding design goal that users must suffer?  from a usability perspective, "not that much more work" seems a shortsighted way to describe forcing a change in usage...
Comment 4 Dotan Cohen 2009-09-02 15:24:41 UTC
I  can confirm this issue in KDE 4.3.1. I have neither a steady hand nor a particularly unsteady one, but moving across an open panel is like walking on eggs to make sure that it will not hide. Please add an option to increase the delay. Thanks.
Comment 5 Ekeluo Chukwuogor 2009-10-18 20:24:33 UTC
I have a panel with quicklaunch plasma widget in it at the top of my screen set to auto hide. I use chromium browser to surf the web and my laptop touchpad isn't perfect. I've lost count of how many instances of amarok, firefox, kmail, kget, etc., I've had to close after an attempt to change tabs. Please this feature will really be appreciated.
Comment 6 bikezilla 2010-01-15 10:13:10 UTC
I second Ekeluo Chukwuogor.
I use the same setup (top autohide panel a'la "quicklaunch") and find it very troublesome to work with applications like the Google Chrome (due to it's tabs residing on the very top of the window) which i definitely like.
The simplest solution would be to add an option to increase the autohide/appear delay time.
Comment 7 Corey O'Connor 2010-01-26 12:31:32 UTC
Created attachment 40250 [details]
Adds a delay to showing and hiding autohide panels

The delays are currently constants in panelview.h. This should, no doubt, be configurable.
Comment 8 Corey O'Connor 2010-02-02 08:09:14 UTC
Created attachment 40450 [details]
Adds a delay to showing and hiding autohide panels.

This patch implements the autohide behavior I expect. However the patch is incomplete: The LetWindowsCover functionality is currently disabled; The unhide hint is currently disabled.

Both of these were disabled only to ease focusing on just the autohide behavior.
Comment 9 Corey O'Connor 2010-02-02 13:56:34 UTC
Created attachment 40459 [details]
Add configurable delays ; plus other autohide changes

* Adds a configurable delay to showing and hiding autohide panels. The configuration variables are: delayBeforeHide, delayBeforeShow

* Keeping the mouse still in the unhide trigger area accelerations showing the panel. This is optional and is controlled by the configuration variable: stillMouseSpeedsShow ( yea. kinda a silly name )

issues:
* The UI does not expose the delay configuration variables 
* The LetWindowsCover functionality is currently disabled; The unhide
hint is currently disabled.

Both of these were disabled only to ease focusing on just the autohide
behavior.
Comment 10 Dotan Cohen 2010-02-02 16:30:20 UTC
stillMouseSpeedsShow is a genius idea! If you could integrate this patch with the corner bug [1], I will be back to using hidden panels!

Thanks!

[1] https://bugs.kde.org/show_bug.cgi?id=224008
Comment 11 Corey O'Connor 2010-02-04 22:29:55 UTC
Created attachment 40534 [details]
Add configurable delays ; plus other autohide changes

changes since last patch:
* Possibly resolved regression where a panel would not be visible on all desktop.
* updated to patch latest in svn

still same issues as before
Comment 12 Corey O'Connor 2010-02-06 00:07:46 UTC
Ah darn. I totally misunderstood parts of the previous implementation. My patch is too complex and introduces too many regressions with this in mind. Will retry and post a, hopefully, simpler patch soon.
Comment 13 Tom Arnold 2010-03-10 04:20:30 UTC
Hello,

I think the code from Kwin for hot corners should be used for auto hide panels also. The one where you have to actually push against the corner to trigger the panel.

In the long run something like "mouse velocity" might be the right solution:
http://forum.kde.org/brainstorm.php#idea86182_page1
Comment 14 Aaron J. Seigo 2010-03-10 04:47:41 UTC
Corey: if you are hoping to get this included upstream (which you may not, and that's cool too) then you really ought to be bringing this to plasma-devel@kde.org and/or reviewboard.kde.org

the patch you posted, however, was as you noted far, far too complex. for instance, it creates an NxM matrix of interaction features thanks to the multiple enumerations. that is the last thing we want in this code which is already difficult enough to test and keep in order.

that said, i really don't think it is worth making the before/after duration configurable. if steady hands are an issue, don't use autohiding panels. if the timeout is to short in general, we can increase it. but these kinds of options just lead to more configuration UI for the benefit of a very small group of people at the cost of everyone else.

mouse acceleration based unhiding is similarly a really bad idea imho. it means you have to take a "run" at the screen edge and if there is one thing that mouse input devices are good at it's working up that kind of momentum against screen edges accidentally anyways. as such, i eally don't see it being anything more than a curiosity or an annoyance, depending and what your experience with it is.

sharing code with kwin for screen edge activations is in the works, btw, though for other reasons (resolving screen edge trigger conflicts).

in short, if you wish to work on panel behaviour, please contact the developers on plasma-devel@kde.org. there are open tasks there, one of which is to abstract out the hiding code from the rest of the PanelView code so it can be used by other plasma shells (and krunner, for that matter). another is to track active popups better (right now we have a few regressions there, even)
Comment 15 tribaal 2010-04-08 10:30:48 UTC
*** This bug has been confirmed by popular vote. ***
Comment 16 Christos Gourdoupis 2010-05-22 14:13:39 UTC
I just installed 4.4.76svn1127506 and found out that my auto-hide panel won't get out of my way before 5 long seconds have passed after I pulled it up. But how can I disable this time wasting delay?
Comment 17 Thijs 2012-06-22 09:40:44 UTC
This bug and bug 267277  are essentially duplicates. Since the other one has a bit wider range of use cases argued, and contains the current discussion, I'm closing this one.

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