Bug 427871 - home key does not work right away in Dolphin
Summary: home key does not work right away in Dolphin
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 19.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-17 15:42 UTC by pierre-yves
Modified: 2021-01-07 15:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pierre-yves 2020-10-17 15:42:01 UTC
SUMMARY
home key does not work right away in Dolphin

STEPS TO REPRODUCE
1. open Dolphin
2. press the home-key
3. 

OBSERVED RESULT
nothing happens

EXPECTED RESULT
the first file or document should be marked

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
after to open Dolphin (or a new directory) the home-key does not work right away;
the space-key need to be pressed, so that the first file/document
is marked; but then, if another file/document is marked, then the
home-key works, so that the first file/document is marked;
that's a contradiction; the home-key should work at any time

I think the problem is because the first file/document is already in focus,
what means that the home-key does not work right away;
better would be that there would be no focus when the content
of a directory appears; in this case the home-key would work right away;
instead of having 2 keys that do not work at any time,
namely the home-key and the space-key, what is confusing, it would be
much better to have only 1 key that works at any time;
so the solution would be: no focus when the content
of a directory appears

Dolphin works in that kind of problem exactly like
Windows Explorer in Windows XP;
I think that Dolphin copied that behaviour;
Dolphin should go a modern way, a more proper way
by using only 1 key (the home-key) that works at any time
Comment 1 pierre-yves 2020-10-17 15:55:16 UTC
one more advantage when the first file/document would be not in focus:
by pressing the right-arrow-key 1x, the first file/document would be marked, what makes sense;

at the moment it is like this, when a new directory opens:
by pressing the right-arrow-key 1x, the second file/document is marked
Comment 2 Nate Graham 2020-10-21 04:30:55 UTC
Can confirm.
Comment 3 Tsu Jan 2020-11-12 10:03:27 UTC
The current behavior of the Home key (which is its default behavior in Qt) is consistent with that of arrow keys as well as PgUp and PgDn.

For example, when the top left index is already the CURRENT item but not selected, up/left arrow, PgUp and Home shouldn't and don't select anything because there's nothing beyond it.

Selecting the tope left CURRENT item with Home would be inconsistent with the behavior of other navigation keys. Space can be used to select the current item (and Ctrl+Space to deselect it).
Comment 4 pierre-yves 2020-11-12 11:17:37 UTC
(In reply to Tsu Jan from comment #3)
> Selecting the tope left CURRENT item with Home would be inconsistent with
> the behavior of other navigation keys.
That is correct and that is why I mentioned in the description that:
"better would be that there would be no focus when the content
of a directory appears". So, the top left file would be not CURRENT item.

As in my description above, in my opinion, the most important feature has to be:
"the home-key should work at any time", instead of having 2 keys (home and space) that do not work at any time for the top left file.
Comment 5 pierre-yves 2021-01-07 15:46:28 UTC
example where the home-key works at any time:
in Lubuntu 18.04 with the desktop-environment LXDE, in the file-manager PCManFM,
the home-key works at any time