texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Can't use shortcut to paste in macro editor

Open muzimuzhi opened this issue 2 years ago • 4 comments

Environment

  • TeXstudio: both stable 4.5.1 and latest 4.5.1-102-ge8f3f2349
  • Qt: 6.4.2
  • OS: macOS 12.6.3
  • TeX distribution: irrelevant

Expected behavior

In Edit Macros dialog, when cursor is in the macro editor text area, pressing cut/copy/paste/undo shortcuts acts on the macro editor.

Actual behavior

Pressing such shortcuts acts on the main tex editor. Only the right-click menu acts on the macro editor itself.

https://user-images.githubusercontent.com/6376638/224557546-f5205676-592e-4867-9ef5-8f324a137e1b.mov

How to reproduce

  • Open Edit Macros dialog
  • Put cursor in the macro editor
  • Press one of the mentioned shortcuts

muzimuzhi avatar Mar 12 '23 16:03 muzimuzhi

seems OS specific to me, can't reproduce with Win10

octaeder avatar Mar 12 '23 20:03 octaeder

seems OS specific to me, can't reproduce with Win10

Indeed: no such an issue on GNU/Linux.

dbitouze avatar Mar 12 '23 20:03 dbitouze

Qt/OSX apparently behaves differently than the other OS. Writing a work-around seems not straight forward, so I set this as enhancement request.

sunderme avatar Mar 15 '23 17:03 sunderme

I can definitely confirm this behaviour exists since long time on MacOS.

flenzen avatar Mar 26 '23 10:03 flenzen