Bug 183599 - Mouse actions not working on FolderView activity
Summary: Mouse actions not working on FolderView activity
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-folderview (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 191537 227039 228287 234110 241595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-07 20:33 UTC by Javier G.
Modified: 2010-09-05 00:26 UTC (History)
14 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier G. 2009-02-07 20:33:14 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When I the Desktop activity is set as "Desktop" we can switch desktops with the mouse wheel but when is set as "Folder view" mouse wheel dosn't work. Then you are forced to click on the pager or keyboard shortcuts to change desktops.

I think that is because the fodlerview desktop mode has the behavior of the folderview widget .

I'm using: KDE 4.2.0 & KDE 4.3 (>= 20090204)
Qt: 4.4.3
Comment 1 Dario Andres 2009-02-08 00:43:06 UTC

*** This bug has been marked as a duplicate of bug 180725 ***
Comment 2 Dario Andres 2009-02-08 00:43:42 UTC
Oops, wrong tab/bug.
Comment 3 maciek gajewski 2009-03-09 22:09:26 UTC
I know few people that are pissed off by not having ability to switch desktops with mouse wheel, as they were accustomed to do. From usability point of view, this should "just work", ether in "desktop" or "folderview" mode, otherwise people will get angry. Similar to "Super" button not opening the menu (bug 154564).
Comment 4 FiNeX 2009-05-06 23:27:09 UTC
*** Bug 191537 has been marked as a duplicate of this bug. ***
Comment 5 maciek gajewski 2009-11-01 11:35:47 UTC
Still present in 4.3
Comment 6 Chani 2009-11-03 08:45:33 UTC
oh yuck. it's still broken in trunk.
more mouse events that folderview is eating before plasma can get to them, I guess. :/ I kinda wish I could just override it.
Comment 7 Jonathan Thomas 2010-02-15 19:23:04 UTC
*** Bug 227039 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2010-02-24 14:05:49 UTC
*** Bug 228287 has been marked as a duplicate of this bug. ***
Comment 9 t3ddy 2010-03-04 09:48:24 UTC
This bug is more than one year old, any chance to have it fixed in the next year?
Comment 10 Chani 2010-03-04 10:40:55 UTC
it is not. mouse actions were only released in 4.4, which has been out less than a month.

and no, it's not likely to be fixed any time soon... it's a nasty bug.
Comment 11 Chani 2010-03-04 10:52:04 UTC
holy crap, it actually *is* that old. it's been a problem since long before mouse plugins existed...

well, in that case it's really *really* unlikely to be fixed.
Comment 12 Beat Wolf 2010-03-04 10:57:29 UTC
wasnt that the qt 4.5 specific stuff you where working on at tokomak one year ago? something about the events that are not passed from folderview further down... don't remember exactly
Comment 13 Chani 2010-03-04 11:43:36 UTC
6 months ago, and that was an awful nasty hack that got right-click working properly. it was a different problem from scroll-wheel, because it was actually mouse plugins eating events that folderview should get, so I was able to explicitly pass them on...
Comment 14 t3ddy 2010-03-04 14:31:30 UTC
I don't know how's the code, but I can imagine that srolling could have some problems because in folderview plasmoid it is used to scroll the plasmoid, but I can't understand why if I choose ctrl+scroll it works
Comment 15 Aaron J. Seigo 2010-03-04 22:59:04 UTC
because ctrl+scroll isn't used by folderview. scroll wheel is.

but can we please stop using bugs.kde.org as a replacement for forum.kde.org? my bugs email folder is completely useless due to chit chat like this drowning out the actually useful and relevant comments being made on bug reports.

post a patch, add new useful-to-writing-a-patch data (e.g. ways to reproduce, etc) or post on forum.kde.org. thanks.
Comment 16 Aaron J. Seigo 2010-03-05 01:09:11 UTC
SVN commit 1099064 by aseigo:

if we are a containment and have no scrolling to do ... don't.
BUG:183599


 M  +4 -3      iconview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1099064
Comment 17 Christoph Feck 2010-03-16 14:29:37 UTC
I have to reopen it. Left click does not work in folderview mode, but in Desktop mode. I have assigned a quick application menu to the Left mouse button.

It does work sometimes, e.g. if you use Right click to show the menu, then dismiss it with Left click, then Left click again the configured mouse action works.

Additionally, Left click does not respect the QApplication::startDragDistance() and startDragTime(), so the above does not work when used with a high resolution input device, such as a tablet, where it is impossible to click without a slight drag.
Comment 18 Dario Andres 2010-04-13 15:20:29 UTC
*** Bug 234110 has been marked as a duplicate of this bug. ***
Comment 19 Fredrik Höglund 2010-05-13 21:28:32 UTC
(In reply to comment #17)
> I have to reopen it. Left click does not work in folderview mode, but in
> Desktop mode. I have assigned a quick application menu to the Left mouse
> button.

I will make it work with the left mouse button, but you won't be able to do elastic-band selections when you have a mouse action assigned to that button.

> Additionally, Left click does not respect the QApplication::startDragDistance()
> and startDragTime(), so the above does not work when used with a high
> resolution input device, such as a tablet, where it is impossible to click
> without a slight drag.

Left click certainly respects startDragDistance(), and always has. It doesn't use startDragTime() because that's only meant to be used by text editors.
Comment 20 Fredrik Höglund 2010-05-13 21:32:43 UTC
SVN commit 1126346 by fredrik:

If a containment action is assigned to the left mouse button,
give it precedence over elastic-band selections.

Fixed in: 4.4.4
BUG: 183599


 M  +12 -0     iconview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1126346
Comment 21 Chani 2010-06-14 04:31:04 UTC
*** Bug 241595 has been marked as a duplicate of this bug. ***
Comment 22 Martin Samek 2010-06-27 16:14:37 UTC
Will this bug fixed in 4.5? It is nasty ugly annoying bug.
Comment 23 Chani 2010-06-27 18:16:51 UTC
er, yes, it's marked as fixed. :) in fact, fredrikh's last comment there says it's fixed in 4.4.4 as well.
Comment 24 Martin Samek 2010-06-27 18:32:18 UTC
No, in 4.4.4 it is not fixed. I have desktop set to the activity Folder view and it simply ignores scroll wheel. In Desktop mode it works like a charm.
Comment 25 Beat Wolf 2010-06-27 18:37:01 UTC
the commit mentions the left mouse button, perhaps the mousewheel is still not working?
Comment 26 Chani 2010-06-27 18:39:50 UTC
hrrm.
there was a separate BR for the scroll-wheel not working, and iirc aseigo fixed it a while ago... but maybe that fix wasn't backported to 4.4?

*tests*
vertical scroll wheel works just fine in trunk. so you can either wait for 4.5 or go track down that report and ask if it can be backported to 4.4.5 :)
Comment 27 Martin Samek 2010-06-30 22:31:47 UTC
It is not fixed in 4.4.5
Comment 28 Janet 2010-09-05 00:26:56 UTC
It is fixed in KDE SC 4.5.1 - finally I can switch folderview desktops by mousewheel. Thanks.