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

Cairo shell bars disappeared if you turn off and on screen #779

Open
IntinteDAO opened this issue Oct 22, 2023 · 2 comments
Open

Cairo shell bars disappeared if you turn off and on screen #779

IntinteDAO opened this issue Oct 22, 2023 · 2 comments

Comments

@IntinteDAO
Copy link

Describe the bug

In general, Cairo Shell does not cope with dynamically turning screens off and on.

In short, I have a monitor connected to an HDMI Switch (but you can unplug and plug in the cable) so I can switch between computers, while the computers see it as a physical unplugging of the HDMI cable.

Cairo Shell, in theory, should detect screen changes and adjust to the current screen, but it seems to crash, as the bars disappear and the WIN + Shift + Z shortcut is unresponsive.

Steps to reproduce

  1. Use only monitor (mine has 2048x1152 resolution - maybe it's an issue, or scale change)
  2. Disconnect HDMI cable
  3. Cairo works on laptop screen, without dock
  4. Connect cable
  5. Cairo works on monitor, but without top bar
  6. Disconnect cable
  7. Cairo works on laptop screen but without all bars
  8. Connect -> Only dock works

Expected behavior
Restart if monitor is disconnect or something like that.

System information:

  • Windows version: Win11 22H2 22621.2428
  • Cairo version: 0.4.285.19267 - Pre-release
  • 32-bit or 64-bit: 64
  • In Cairo Settings > Advanced, is Cairo set as shell?: Explorer

Additional context
Add any other context about the problem here.

Screenshots
If applicable, add screenshots to help explain your problem.

Before disconnect on monitor:
obraz

After, on laptop screen. Dock doesn't work
obraz

Cable connect, not top bar, but dock is visible:
obraz

@dremin
Copy link
Collaborator

dremin commented Oct 22, 2023

I'm having a hard time reproducing this--both the menubar and taskbar are showing reliably when I switch between an HDMI monitor and a scaled laptop monitor. Could you please share screenshots of your Cairo settings so I can see if a certain setting triggers this?

@IntinteDAO
Copy link
Author

Maybe the issue is with different resolutions. The Cairo was executed on 1920x1080 and the dock is above bottom on 2048x1152
obraz

obraz
obraz
obraz
obraz
obraz

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