qutebrowser / qutebrowser

A keyboard-driven, vim-like browser based on Python and Qt.
https://www.qutebrowser.org/
GNU General Public License v3.0
9.71k stars 1.01k forks source link

Only tabs below/after the current tab are shown after switching `tabs.show` #8026

Open Mrestof opened 11 months ago

Mrestof commented 11 months ago

Version info: qutebrowser v3.0.2 Git commit: Backend: QtWebEngine 6.6.1, based on Chromium 112.0.5615.213 (from api) Qt: 6.6.1

CPython: 3.11.6 PyQt: 6.6.1

Qt wrapper: PyQt6 (via --qt-wrapper)

colorama: no jinja2: 3.1.2 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: no sqlite: 3.44.2 QtNetwork SSL: OpenSSL 3.1.4 24 Oct 2023

Style: Adwaita::Style Platform plugin: wayland OpenGL: Intel, 4.6 (Compatibility Profile) Mesa 23.2.1-arch1.2 Platform: Linux-6.6.4-arch1-1-x86_64-with-glibc2.38, 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: /tmp/qutebrowser-basedir-54y61ii9/cache config: /tmp/qutebrowser-basedir-54y61ii9/config data: /tmp/qutebrowser-basedir-54y61ii9/data runtime: /tmp/qutebrowser-basedir-54y61ii9/runtime system data: /usr/share/qutebrowser

Autoconfig loaded: yes Config.py: no config.py was loaded Uptime: 0:01:40

Does the bug happen if you start with --temp-basedir?: Yes, but I had to set the following settings: :set tabs.position left

Description: The issue is very similar to #7852. Though, I could not reproduce the behavior described there with setting tabs.show to switching, but I still get the bug behavior by switching tabs.show back and forth from never to always.

How to reproduce: Next two commands will lead you to a bug scenario: :set tabs.show never :set tabs.show always But if you repeat the commands above once again, the tabs visibility will return to normal.

simonhughxyz commented 10 months ago

This happens with me as well. Also, if switching tabs they appear again.

The-Compiler commented 10 months ago

Can confirm as well, on 4b11776f76a7f8a02bef9fb1644752da51928bc1 with Qt 6.6.1 and 6.5.3 (but 6.4.3 is fine).

Reproducer:

python3 -m qutebrowser --temp-basedir -s tabs.position left qute://version about:blank qute://gpl ":cmd-later 100 tab-select 2" ":cmd-later 1000 set tabs.show never" ":cmd-later 1500 set tabs.show always"
Mrestof commented 8 months ago

Just noticed on this week that the problematic behaviour was not present on both of my arch linux machines. @simonhughxyz, @The-Compiler, can you confirm you also don't have the bug? Also, should I close the issue now? And thanks to whoever fixed the bug :)