[konsole] [Bug 438056] New: Open files by direct click should not happen on focus

Edwin Peer bugzilla_noreply at kde.org
Thu Jun 3 21:13:49 BST 2021


https://bugs.kde.org/show_bug.cgi?id=438056

            Bug ID: 438056
           Summary: Open files by direct click should not happen on focus
           Product: konsole
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: espeer at gmail.com
  Target Milestone: ---

When "open files/links by direct click" is enabled, the click required to focus
the window will also open an editor if the focus coordinates happen to coincide
with a displayed link. This presents a usability issue, since the click used to
focus the window is usually a coarse grained action. It's common to simply
click anywhere to raise focus and if that happens to be a link then an editor
is inadvertently opened. This is especially problematic if the whole terminal
is filled by a recent 'ls' in a directory, in which case, clicking almost
anywhere but the title bar results in an editor being spawned. This is jarring
to workflow and usually happens when it is least expected.

This is a very neat feature, but the annoyance of unwanted editors popping up
when all that is desired is focus the window makes the feature almost unusable.
Clicking on files in konsole should be a more deliberate action and thus should
only happen when the window already has focus.

Alternatively, if this change is not universally desirable, please add an
option to customize this behavior so that users can choose to have the click
that focuses the terminal ignored for the purposes of this feature.

STEPS TO REPRODUCE
1. Enable "Open files/links by direct click" in "Settings -> Mouse ->
Miscellaneous".
2. Display some files in a terminal and select a different focus window.
3. Click to focus the konsole on a rendered file name.

OBSERVED RESULT
An editor is opened.


EXPECTED RESULT
An editor should not be opened if the window did not already have focus.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux, kernel 5.12.8-arch1-1
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list