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

alt-9 binding behavior changed #8127

Open
OmeletWithoutEgg opened this issue Mar 12, 2024 · 5 comments
Open

alt-9 binding behavior changed #8127

OmeletWithoutEgg opened this issue Mar 12, 2024 · 5 comments
Labels
component: keyinput Issues related to processing keypresses. status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.

Comments

@OmeletWithoutEgg
Copy link

OmeletWithoutEgg commented Mar 12, 2024

Version info:

         ______     ,,
    ,.-"`      | ,-` |
  .^           ||    |
 /    ,-*^|    ||    |
;    /    |    ||    ;-*```^*.
;   ;     |    |;,-*`         \
|   |     |  ,-*`    ,-"""\    \
|    \   ,-"`    ,-^`|     \    |
 \    `^^    ,-;|    |     ;    |
  *;     ,-*`  ||    |     /   ;;
    `^^`` |    ||    |   ,^    /
          |    ||    `^^`    ,^
          |  _,"|        _,-"
          -*`   ****"""``

qutebrowser v3.1.0
Git commit: 
Backend: QtWebEngine 6.6.2, based on Chromium 112.0.5615.213 (from api)
Qt: 6.6.2

CPython: 3.11.8
PyQt: 6.6.1

Qt wrapper info:
  PyQt6: success
  PyQt5: not imported
  -> selected: PyQt6 (via autoselect)

colorama: 0.4.6
jinja2: 3.1.3
pygments: 2.17.2
yaml: 6.0.1
adblock: 0.6.0
objc: no
PyQt6.QtWebEngineCore: 6.6.0
PyQt6.sip: 6.7.12
pdf.js: 4.0.379 (/usr/share/pdf.js/build/pdf.mjs)
sqlite: 3.45.1
QtNetwork SSL: OpenSSL 3.2.1 30 Jan 2024

Style: Breeze::Style
Platform plugin: xcb
OpenGL: Intel, 4.6 (Compatibility Profile) Mesa 24.0.2-arch1.2
Platform: Linux-6.7.9-arch1-1-x86_64-with-glibc2.39, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.11/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt6, data path: /usr/share/qt6

Paths:
cache: /home/omelet/.cache/qutebrowser
config: /home/omelet/.config/qutebrowser
data: /home/omelet/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser
system data: /usr/share/qutebrowser

Autoconfig loaded: yes
Config.py: /home/omelet/.config/qutebrowser/config.py has been loaded
Uptime: 0:06:53

Does the bug happen if you start with --temp-basedir?:
Yes.

Description
<alt-9> binds to tab-focus -1 in the default setting. And when I :bind to check it says so too.
However when I really press <alt-9> it switches to the 9-th tab, instead of the last tab.

btw, I bind <alt-f> to :fake-key f to send f key as in insert mode, but sometimes when I press it I will be switched to another tab (like 10-th or 13-th?) and this is kind of annoying. Can't reproduce it with --temp-basedir though, don't know what happened.

How to reproduce

open for about 15 tabs (at least 10), and press <alt-9> or :fake-key <alt-9>

@The-Compiler
Copy link
Member

Works for me. Can you reproduce with --temp-basedir and do :report so I can take a look at the logs?

@The-Compiler The-Compiler added status: can't reproduce Issues which can't be reproduced. component: keyinput Issues related to processing keypresses. status: needs triage Issues/PRs which need some deeper investigation. labels Mar 12, 2024
@OmeletWithoutEgg
Copy link
Author

OmeletWithoutEgg commented Mar 13, 2024

Sure, I've done :report and send the log out.

I also found that :fake-key <alt-9> will bring me to 9-th tab and :fake-key <alt-9> -g to the last lab.

edit: here is another reported log, uploaded to gist.

@The-Compiler
Copy link
Member

First thing coming to mind:

QT_IM_MODULE = fcitx

could you try if it reproduces without that?

@OmeletWithoutEgg
Copy link
Author

Yes, it reproduces without that envvar.

@OmeletWithoutEgg
Copy link
Author

here is the log without the fcitx envvar.

Also I found that, pressing like <Alt+d> and <Alt+f> will bring me to some tab with title start with capital D and F, if there is such tab (for example DuckDuckGo). Is that related to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: keyinput Issues related to processing keypresses. status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.
Projects
None yet
Development

No branches or pull requests

2 participants