Bug 82675

Summary: File selector ignores the ``change pointer shape'' option in Mouse KCModule
Product: [Applications] kfile Reporter: Jason G. Pallack <jgp025000>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: cpigat242, finex, mpyne, nate, peter.penz19
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Possible fix for cursor icon changing

Description Jason G. Pallack 2004-06-02 03:25:12 UTC
Version:           2.2 (using KDE 3.2.90 (3.3 alpha1, CVS >= 20040522), Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.6.5-gentoo-r1

The Kate file selector seems to ignore the ``Change pointer shape over icons'' option in the Mouse options under KDE 3.3 Alpha 1. It follows the single/double click settings, but in single click mode, the cursor always turns into a finger whenever I hover it over the file selector, regardless of whether or not I have the ``change pointer shape'' option checked.

The same bug is also present in the file open and save as dialog boxes. Should I submit separate bug reports for them?

I have no plugins loaded.
Comment 1 Anders Lund 2004-06-02 07:32:45 UTC
This is an issue wit kdiroperator, obviously
Comment 2 Christoph Feck 2009-08-27 02:35:39 UTC
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
Comment 3 FiNeX 2009-12-05 22:53:45 UTC
It looks that this option doesn't work in any KDE 4 software.

@kdelibs-developers: If nobody is using it, shouldn't be removed?

@Peter: what about dolphin? Did you ever think about this option?
Comment 4 Michael Pyne 2009-12-06 01:50:57 UTC
Created attachment 38861 [details]
Possible fix for cursor icon changing

Here's a possible fix for the bug to restore the behavior of using a pointing hand icon when hovering over a file.

I say possible because I cannot get the QAbstractItemView::entered() signal to work, even though mouse tracking is enabled (required per Qt documentation).
Comment 5 FiNeX 2009-12-06 14:00:01 UTC
@Michael: do you think this option could be useful?  I mean, users are used to have the "hand cursor" over hypertext links, but I don't know if this is really needed in the other interface objects. What do you think about?
Comment 6 Michael Pyne 2009-12-06 21:37:26 UTC
It is useful as feedback (especially for those coming from double-click-to-activate systems) that the next click you make will take some action instead of merely selecting the file. I think it would be nice to restore, I'm just not sure if it's a Qt bug with the entered() signal or something else that my patch is missing.
Comment 7 FiNeX 2009-12-06 22:03:36 UTC
I understand... thanks Michael
Comment 8 Peter Penz 2009-12-07 22:43:09 UTC
@FiNeX (in reply to comment #3): No, I did not think about implementing this option in Dolphin. From my personal point of view it is OK to change the pointer shape above text-links to give a feedback that it is clickable. But I don't see a benefit to change the pointer shape above items that show already a hover animation to indicate a clickable state (like done for Dolphin items, toolbar icons, menu items, ...). From my point of view this option should be removed and the pointer shape should be changed always and only above text-links.
Comment 9 FiNeX 2009-12-08 00:45:32 UTC
@Peter: it sounds reasonable.

I don't think this feature could be useful on the current GUI either: clickable elements are already clearly highlighted (file icons in both dolphin and kfile).
Anyway or it will be globally disabled or it will be available everywhere. I suggest to disable it.

@Mpyne: if we add the "hand" cursor over files, why not over other elements either? This is the reason I'm suggesting this.
Comment 10 Michael Pyne 2009-12-08 04:56:56 UTC
Honestly I didn't even notice the feature didn't work, so I don't care much one way or the other. I do agree the feature text should be removed if we're not going to support it. It *is* exposed in the public API though (see KGlobalSettings) so we need to make sure not to overboard if it gets removed.
Comment 11 Peter Penz 2009-12-08 13:41:43 UTC
I've send a mail to kde-core-devel@kde.org, where I ask if this option should be removed... If the conclusion is that this option should stay, for sure we'd have to fix the file-dialog + Dolphin.
Comment 12 Nate Graham 2018-04-10 21:47:06 UTC
The option has since been removed.