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

Opening a second window while in fullscreen mode no longer opens a macOS tab #5549

Open
maxime-michel opened this issue Jun 26, 2020 · 8 comments
Labels
os: macOS Issues which only happen on macOS. priority: 2 - low Issues which are currently not very important. qt: 5.15 Issues related to Qt 5.15.

Comments

@maxime-michel
Copy link

Version info:
qutebrowser v1.12.0
Git commit: eaff6e8 (2020-06-01 15:57:24 +0200)
Backend: QtWebEngine (Chromium 80.0.3987.163)
Qt: 5.15.0

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

Description
On OS X, I've always run one single window of qutebrowser, in which I was able to have, first, my regular session. Once in fullscreen mode, I could then open a private session that would stay within the same window, as a separate tab. That wasn't a qutebrowser tab, but a tab above that. Since 1.12 (and 1.13 doesn't help), this opens a new qutebrowser window in another OS X space. Those are impossible to navigate using Alt-Tab. Is there a chance this behavior I was relying on will be coming back?

How to reproduce

  1. open qutebrowser
  2. put it in fullscreen mode
  3. :open -p site.com
  4. a new OS X space is created
  5. Alt-Tab becomes a nightmare
@The-Compiler
Copy link
Member

This functionality isn't coming from qutebrowser - it always opens a new window with :open -p, so it must be something in macOS (or Qt) grouping them (like you say, That wasn't a qutebrowser tab, but a tab above that.).

I don't think there's anything that changed in qutebrowser about this either, it's more likely to be something in the Qt 5.15 update done in qutebrowser v1.12.0 which causes this to happen. Can you confirm the behavior you describe comes back when you go back to v1.11.0? Does the same thing happen with :open -w as well? If you happen to re-test with v1.11.0, could you take a screenshot?

@The-Compiler The-Compiler added os: macOS Issues which only happen on macOS. priority: 2 - low Issues which are currently not very important. qt: 5.15 Issues related to Qt 5.15. labels Jun 26, 2020
@maxime-michel
Copy link
Author

Thanks for the help, I was afraid this had to do with Qt and is therefore out of your control. This is what it used to look like. :open -w yields the same result.

tabs-of-tabs

@The-Compiler
Copy link
Member

That's a quite nice feature, though! I had a quick look through the Qt bugtracker, and didn't find anything relevant. Maybe someone who knows more about macOS has an idea what's going on? @koekeishiya or @rien333 perhaps?

@The-Compiler The-Compiler changed the title Opening a private session while in fullscreen mode no longer opens a new tab Opening a second window while in fullscreen mode no longer opens a macOS tab Jun 26, 2020
@rien333
Copy link
Contributor

rien333 commented Jun 26, 2020

Nope, sorry, I don't even remember using this feature in macOS. Which macOS version are you on? (I haven't really used it in almost two years).

Aside from delving deep into the Qt side of things, you could try altering your work flow, I guess. iirc, qutebrowser can fake fullscreen (even on macOS), which would allow you to have two windows on the same space you could then cycle between. Of course, this might not fit your preferences in some way.

@maxime-michel
Copy link
Author

I am running 10.15.5, which is latest, and have been on 10.15.x since March, way before 1.12 (June 1st) came out. So it would have to be Qt. Well, I'll deal with it. Should I leave this issue open?

@The-Compiler
Copy link
Member

I can reproduce this with macOS 10.13.6 (High Sierra) as well. Someone should probably report this upstream to Qt, ideally with a more minimal example project. I can take care of that, but it might take me a while.

@maxime-michel
Copy link
Author

Thanks! Would something like the following help? https://doc.qt.io/qt-5/qtwidgets-richtext-orderform-example.html

@The-Compiler
Copy link
Member

@maxime-michel It would need to be an example which actually shows multiple windows in full-screen. Not sure if anything suitable exists inside the Qt examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macOS Issues which only happen on macOS. priority: 2 - low Issues which are currently not very important. qt: 5.15 Issues related to Qt 5.15.
Projects
None yet
Development

No branches or pull requests

3 participants