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

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdevelop/-/commit/134f
                   |                            |d24d0ec5f983d9da65dfe27dcab
                   |                            |1801c3f81
   Version Fixed In|                            |5.15.240800
             Status|ASSIGNED                    |RESOLVED

--- Comment #11 from Igor Kushnir <igor...@gmail.com> ---
Git commit 134fd24d0ec5f983d9da65dfe27dcab1801c3f81 by Igor Kushnir.
Committed on 22/05/2024 at 10:01.
Pushed by igorkushnir into branch 'master'.

Revert "Add copy button in AbstractNavigationWidget"

When text is selected in a navigation widget (e.g. editor tooltip, Code
Browser tool view, Quick Open or Outline item details), KDevelop
automatically copies the selection to clipboard. The copying occurs
continuously while the user selects text, so clipboard history ends up
containing not only the final selection, but also all intermediate
selections - all but one character, all but two characters, ..., the
first selected character.

This behavior not only clutters clipboard history with useless entries,
but can also quickly overwrite useful clipboard entries if the clipboard
manager limits its history size. The auto-copy feature is unexpected and
undocumented. It is also redundant on most GNU/Linux and *BSD systems,
because primary selection works naturally and automatically in X11 and
in most modern Wayland compositors:
https://wayland.app/protocols/primary-selection-unstable-v1

If someone needs to copy text from a navigation widget on other
operating systems, the feature can be reintroduced but in the widget's
context menu, where it would be discoverable and would not clutter
clipboard history.

This reverts commit dadaf13191e50cc99c3420f274f5e857f3050f06.
FIXED-IN: 5.15.240800

M  +0    -4   
kdevplatform/language/duchain/navigation/abstractnavigationwidget.cpp

https://invent.kde.org/kdevelop/kdevelop/-/commit/134fd24d0ec5f983d9da65dfe27dcab1801c3f81

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to