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

            Bug ID: 450144
           Summary: Ctrl+C sometimes does not copy text from the git blame
                    popup
           Product: kate
           Version: 21.12.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: kishor...@gmail.com
  Target Milestone: ---

SUMMARY
When the git blame plugin is enabled, you can trigger a popup on a particular
line that shows the commit in which it was last modified. Ctrl+C does not work
(except for the first time) to copy text from this popup. However, the 'copy'
option in the context menu still works.

STEPS TO REPRODUCE
1. In Settings > Configure Kate > Plugins, enable 'Git blame'.
2. In Settings > Configure Kate > Editing > General, disable 'Copy/cut the
current line if invoked without any text selected'
3. Open a text file in any git repo
4. Place the cursor in any line of the file
5. Click on the 'git blame' comment that appears on the right of that line
6. In the popup that appears, use the mouse to highlight some text
7. Press Ctrl+C
8. Use the mouse to highlight some other text in the same popup
9. Press Ctrl+C

OBSERVED RESULTS
The highlighted text is not copied to the clipboard the second time (and Ctrl+C
will not work in such popups until you relaunch Kate)

EXPECTED RESULTS
Ctrl+C should always copy the highlighted text.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics

ADDITIONAL INFORMATION
'Right-click > Copy' and the X11 clipboard (the one that is used for
middle-click paste) still work reliably. Only the Ctrl+C keyboard shortcut is
affected.

If you have enabled Settings > Configure Kate > Editing > General > 'Copy/cut
the current line if invoked without any text selected', Kate will instead copy
the line outside the popup on which cursor has been placed (and not the line
you have selected inside the popup).

Also reproducible on KDE Neon Unstable.

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

Reply via email to