Summary: | Unable to select from or paste to GDB TUI | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Paul Fee <paul.f.fee> |
Component: | copy-paste | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | a.samirh78 |
Priority: | NOR | ||
Version: | 21.12.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
attachment-1431-0.html
Screenshot of Konsole mouse settings |
Description
Paul Fee
2022-02-18 13:00:00 UTC
Created attachment 146913 [details] attachment-1431-0.html Please verify that your settings on konsole allows for mouse tracking on the application. try to disable the mouse tracking. On Fri, Feb 18, 2022 at 2:00 PM Paul Fee <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=450515 > > Bug ID: 450515 > Summary: Unable to select from or paste to GDB TUI > Product: konsole > Version: 21.12.2 > Platform: openSUSE RPMs > OS: Linux > Status: REPORTED > Severity: normal > Priority: NOR > Component: copy-paste > Assignee: konsole-devel@kde.org > Reporter: paul.f.fee@gmail.com > Target Milestone: --- > > SUMMARY > *** > When GDB is in TUI mode, konsole selection and middle mouse button pasting > is > no longer available > *** > > > STEPS TO REPRODUCE > 1. Launch GDB > 2. Switch to TUI mode (press CTRL-X followed by A) > 3. Try to highlight/select text - doesn't work. > 4. Try to paste with middle mouse button - doesn't work. > 5. Exit TUI mode (press CTRL-X followed by A) > 6. Selection and middle mouse paste work once more. > > OBSERVED RESULT > GDB puts the terminal in a different mode (perhaps using the ncurses > library). > Selection and pasting worked with previous versions of konsole. I'm not > sure > which version first broke this existing functionality, I'd estimate it was > working six months ago. > > EXPECTED RESULT > Selection and pasting should work in GDB TUI, just like it does in "normal" > mode. > > SOFTWARE/OS VERSIONS > Linux/KDE Plasma: openSUSE Tumbleweed > (available in About System) > KDE Plasma Version: 5.24.0 > KDE Frameworks Version: 5.90.0 > Qt Version: 5.15.2 > > ADDITIONAL INFORMATION > Running X.Org display (not Wayland). > > -- > You are receiving this mail because: > You are the assignee for the bug. This is due to a change in gdb upstream, starting from 11.1, https://www.sourceware.org/gdb/news/ : Mouse actions are now supported. The mouse wheel scrolls the appropriate window. disabling "Allow terminal applications to handle clicks and drags" in profile settings -> mouse -> miscellaneous should restore the old gdb behaviour. Alternatively pressing and holding Shift should allow you to select text as usual in gdb. Created attachment 147004 [details]
Screenshot of Konsole mouse settings
I don't see the option "Allow terminal applications to handle clicks and drags" with Konsole 21.12.2.
However, the suggestion to use "shift" while selecting/pasting is even better as it gives the best of both worlds.
Resolved as a case of user error. I wasn't aware that GDB has mouse functionality that affects select/paste operations. However the workaround of pressing SHIFT works well, so no need to change konsole. You're right, that option is a new addition, so it's not in the 12.12.2 branch. |