| Summary: | HOME and END key shortcuts are inconsistent | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Andreas Korb <andreas.d.korb> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | nate |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 21.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andreas Korb
2022-01-11 14:16:55 UTC
Kate is perfectly consistent within its text editing view; home and end go to the beginning of the current *line* not the whole document. This is the way multi-line text areas work everywhere. Konsole requires the use of the Shift modifier to avoid overriding keys that terminal apps use. It's this way for everything. You have to add Shift onto the beginning of any other shortcut you want to use that affects the view. Seen that way, Okular might be the inconsistent one here. I assume requiring Ctrl was done because losing your place by hitting Home or End accidentally was annoying. > This is the way multi-line text areas work everywhere. This matches my observation. > I assume requiring Ctrl was done because losing your place by hitting Home or End accidentally was annoying. Makes sense. Some laptops have those keys directly next to the usual arrow keys. So you think Home and End should go to top/bottom of the current page, like in Bug 114267? That seems reasonable to me. It would still be inconsistent, but at least the unmodified PageUp/PageDown keys would be doing something potentially useful, rather than doing nothing. *** This bug has been marked as a duplicate of bug 114267 *** I'd prefer that Home and End are set as default for whole document scrolling. It's also the default for: evince, firefox, chromium Even though not everywhere, for example xpdf does it exactly in the way as you suggest with ctrl (document scrolling), without ctrl (page scrolling) In my opinion, the default key shortcuts should not surprise the user for a good user experience. And me, for example, was quite surprised about the default shortcut. Even if an accidental press of Home or End happens, the user can still reason about it and act accordingly (by changing the default shortcut bindings or taking more care about what key to press). In summary, I'm not sure if breaking consistency over all KDE applications only for Okular for a (maybe not so common) use-case is a good idea, as the defaults can be changed. |