Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home and End keys: counter-intuitive behaviour #237

Open
xavierog opened this issue Dec 31, 2022 · 1 comment
Open

Home and End keys: counter-intuitive behaviour #237

xavierog opened this issue Dec 31, 2022 · 1 comment

Comments

@xavierog
Copy link

xavierog commented Dec 31, 2022

Expected Behavior

When typing anything in lxqt-runner, I expect Home/End keys to move the cursor to the start/end of the line.
Same when selecting (Shift+Home, Shift+End).

Current Behavior

Since d44b301 and as reported in #213:
If lxqt-runner has suggestions for what I have typed, Home/End selects the first/last suggestion. This may or may not be my intent, but at least there is a visual feedback as to what is happening.
If lxqt-runner has no suggestion, Home/End is ignored and the cursor stays where it is. There is no feedback that these keys are now meaningless.

Possible Solution

Keep the traditional behaviour when there is no suggestion?
Make it an option?

Steps to Reproduce
  1. Alt+F2
  2. Type something that will yield no suggestion, e.g. qwertyuiop
  3. Hit Home: nothing happens
  4. Hit Shift+Home: nothing happens
  5. Hit Ctrl+left arrow as a replacement for Home, hit End: nothing happens
  6. Hit Shift+End: nothing happens
Context

lxqt-runner's typical usage is of course:

  • type a few letters
  • optionally use arrows to select a suggestion
  • hit Enter
  • all done

... but I sometimes use lxqt-runner (and similar tools in other desktop environments, e.g. Win+r in Windows) as a temporary one-line buffer: Alt+F2, Ctrl+v, Shift+Home, Ctrl+x, Esc
Doing this ensures that whatever I pasted:

  • is now plain/text and plain/text only (as opposed to e.g. text/html)
  • is reachable by all X11 applications (more context: multiple X11 applications isolated from each other through a nested X server)
System Information
  • Distribution & Version: Debian Sid, 1.2.0
  • Kernel: 6.0.12-1 (2022-12-09)
  • Qt Version: 5.15.7
  • liblxqt Version: 1.2.0
  • lxqt-build-tools Version: not installed
  • Package version: 1.2.0-1
@fulalas
Copy link

fulalas commented Dec 10, 2023

I second that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants