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

Panel blur does not work with multiple monitors #68

Closed
sschuhmann opened this issue May 5, 2021 · 45 comments
Closed

Panel blur does not work with multiple monitors #68

sschuhmann opened this issue May 5, 2021 · 45 comments
Assignees
Labels
bug Something isn't working

Comments

@sschuhmann
Copy link

The panel blur is not working on my multi monitor setup. Enabling panel blur just makes the panel transparent, without any blurring at all for the multi monitor setup. Activating it in a single monitor mode it works as expected.

This problem occurs on Fedora 34, on both wayland and x11

@31j
Copy link

31j commented May 6, 2021

Also on Fedora 34, same issue with a laptop. Closing the laptop lid (which switches the primary and only display to the external one) does work as expected. It is explicitly the presence of multiple monitors at once and not an issue with external vs. internal monitor.

Disabling « Static Panel Blur » does make the panel blur again, albeit with similar artifacts etc. with button hover that existed back in Gnome 3.38 on F33. Issue is only present when this feature is enabled

Blur my Shell is version 10, Gnome is 40.0

@CorvetteCole CorvetteCole changed the title Panel blur multi monitor Panel blur does not work with multiple monitors May 11, 2021
@CorvetteCole CorvetteCole added the bug Something isn't working label May 11, 2021
@CorvetteCole
Copy link
Collaborator

What other extensions do you guys have present? Does this issue present itself when blur-my-shell is the only enabled extension?

@sschuhmann
Copy link
Author

The issue still persist with all other extensions disabled and session reloaded.

@31j
Copy link

31j commented May 11, 2021

I'm halfway through moving house so I can't re-test this with my monitor

At the time I also was using auto night theme switch, removable drive menu (no usb was connected at time), and GSConnect.

@CorvetteCole
Copy link
Collaborator

I can't reproduce this with the latest version on the latest Gnome with two 2560x1440 monitors and X11. I don't think you are crazy though, I've seen a similar issue when using it with the dash-to-panel extension.... Does toggling static blur do anything different?

@CorvetteCole
Copy link
Collaborator

Possibly related to #49 (just a hunch)

@aunetx
Copy link
Owner

aunetx commented May 11, 2021

Sorry, I can't do very much right now... Could you (and anybody else that has this issue) send me the results of those lines of code in looking glass (alt+f2, lg)?

Main.layoutManager.monitors[0].width
Main.panel.get_parent().get_children()[0].get_children()[0].width
Main.panel.get_parent().get_children()[0].get_children()[0].width


Main.layoutManager.monitors[1].width
Main.panel.get_parent().get_children()[0].get_children()[1].width
Main.panel.get_parent().get_children()[0].get_children()[1].width

This will permit me to compare the two monitors and the respective sizes of the widget used by the extension.
If you have a third monitor etc, please give me with 2, 3... as index :)

@31j
Copy link

31j commented May 12, 2021

I unpacked my monitor and tried some other setups, if I have my laptop (secondary monitor) and position it to the right meanwhile I have my external monitor (primary) positioned on the left the blur suddenly works. It seems like the extension is only applying the panel blur on the left-most monitor (in settings). Consequentially if the panel is being displayed on the right-most monitor it is transparent. This is odd however considering overview blur is ONLY on the integrated laptop monitor regardless of how you position monitors in settings Nvm the overview blur is always on the right-most monitor

@31j
Copy link

31j commented May 12, 2021

Screenshot from 2021-05-12 00-39-08

@31j
Copy link

31j commented May 12, 2021

All of my testing is under a wayland session btw, and I have disabled the other extensions I just haven't had the time to open a x session yet. I'm also slightly confused as to why the last command popped a type error? If you need anything else just ask

@ruathudo
Copy link

For me, the bug happens when you have two different screen resolutions. For example: 1920x1080 and 1280x720 and I set the bigger one as primary monitor. The panel got blurred 1280 pixels wide instead full 1920 pixels.

@CorvetteCole
Copy link
Collaborator

@ruathudo that sounds like #47

@aunetx
Copy link
Owner

aunetx commented May 16, 2021

Ok, what does it happen when you type this in looking glass?

a = Main.panel.get_parent().get_child_at_index(0).get_child_at_index(0)

a.set_x(1920)

You can change the number to what you want, and tell me when it kinda works (if 1920 does nothing, maybe a.set_x(0) for example)

@acerspyro
Copy link

acerspyro commented May 30, 2021

For me, it works only occasionally. I'm also noticing that the wallpaper in the background occasionally does not appear at all in the overview on the primary display.

The extension also occasionally allows me to overlap a window on top of the top bar.

image

With the Looking Glass command posted above, I get the following result:
image

After the command, windows also no longer restore correctly after returning from full screen, instead being offset by around 75px at the top and left side of the display. It sort of "snaps out" of my cursor, shifting significantly from the original drag point, even when dragging out using the title bar directly.
Blur does seem to be working correctly now, however. The background is still occasionally missing.

  • Fedora 34, fresh installation
  • No other extensions
  • 2x 1080p displays, side-by-side, left side as primary

@AndiLavera
Copy link

Screenshot from 2021-06-03 10-34-35

Here is what i get on wayland. Haven't tested X11 as I don't use it. If you need any logs, please let me know what logs to provide.

@sp1ritCS
Copy link

I've had the same issue due to the DrawOnYourScreen0 shell extension. If it was loaded before blur my shell, blur-my-shell failed to add panel blur to my primary monitor.

however the author seems to have set his profile to private and thus the repo is gone :/
(a shame, the extension was great)

@aunetx
Copy link
Owner

aunetx commented Oct 5, 2021

I'm sorry for the lack of responses, the problem is that I still can't test this on multi-monitor, as I don't have one around...

Do you all still have the issue? @sp1ritCS I guess being compatible with DrawOnYourScreen is not possible anyway, as I don't have the extension's source, and it caused others major bugs to BmS...

@sacim51469
Copy link

Do we have any update on this? @aunetx I don't know how to program gnome extensions but I would love to help you with this. I have 2 monitors and more than willing to help!

@acerspyro
Copy link

I'm sorry for the lack of responses, the problem is that I still can't test this on multi-monitor, as I don't have one around...

Not having a second monitor is such a weird sentence for me to read haha, I'll ship you one if you live in Canada!

@PixsaOJ
Copy link

PixsaOJ commented Dec 13, 2021

If you don't have a second monitor, can you set up a virtual one? Or use tablet/android as second monitor

@Calcium3d
Copy link

I would love to help where possible!

@acerspyro
Copy link

For the record, it seems to work perfectly on Gnome 42 with Fedora 36

image

@Calcium3d
Copy link

Calcium3d commented Mar 26, 2022

image

It works sometimes like in the image above

image
and sometimes goes black like this. although after switching around which is my main monitor, it does seem to be doing the no blur thing a lot less

OS: garuda gnome
Gnome version: 41.5
Compositor: wayland

@aunetx
Copy link
Owner

aunetx commented Mar 26, 2022

Hello guys, sorry for the lack of answers here and on a lot of comments, just wanted to tell you that I can't work on this at all right now -- currently struggling with my admission exams, so for some more months I won't be able to fix bugs.

I may find some time to release #180, but I won't be able to fix this issue right now -- although if somebody have an idea, he can try it!

@acerspyro
Copy link

Hello guys, sorry for the lack of answers here and on a lot of comments, just wanted to tell you that I can't work on this at all right now -- currently struggling with my admission exams, so for some more months I won't be able to fix bugs.

I may find some time to release #180, but I won't be able to fix this issue right now -- although if somebody have an idea, he can try it!

Nah man focus on your admission exams, best of luck!

If not already done, you should give push access to your next biggest contributor so the project can somewhat continue in your absence.

@aunetx
Copy link
Owner

aunetx commented Mar 28, 2022

Hello guys, sorry for the lack of answers here and on a lot of comments, just wanted to tell you that I can't work on this at all right now -- currently struggling with my admission exams, so for some more months I won't be able to fix bugs.
I may find some time to release #180, but I won't be able to fix this issue right now -- although if somebody have an idea, he can try it!

Nah man focus on your admission exams, best of luck!

If not already done, you should give push access to your next biggest contributor so the project can somewhat continue in your absence.

Thank you very much, and thanks so much for your sponsoring!

I already gave write permission to @CorvetteCole, but I will also be able to access pull request from anybody else anyway :)

@CorvetteCole
Copy link
Collaborator

I'm around! Bit busy but I do have some unpushed changes to certain things. Was planning on helping with the preferences rewrite (#180 ). Good luck with your exams @aunetx

@CorvetteCole
Copy link
Collaborator

Also, @sp1ritCS draw on your screen has been forked here (just approved the gnome extension related to it): https://github.com/zhrexl/DrawOnYourScreen2

Some juicy source code for us :)

I have two monitors myself so maybe I can have a look as well.

@sp1ritCS
Copy link

Cool, I didn't know the fork existed - Thanks for telling me <3

@ebanDev
Copy link

ebanDev commented Aug 16, 2022

Hello ! This issue is still present on Fedora 36, do you have any known fix ?

@aunetx
Copy link
Owner

aunetx commented Aug 18, 2022

Hello, if anybody want to try #306, it may fix this problem (or may not...)

@aunetx
Copy link
Owner

aunetx commented Aug 18, 2022

Uh, no, does not work. I'm kinda lost tbh, it looks like the simple fact of having multiple monitors is sufficient in order to lose the blur...

BTW, it seems to work well with dash to panel now (even with multiple monitors), so that's even weirder.

@aunetx
Copy link
Owner

aunetx commented Aug 20, 2022

Is it fixed now? @sschuhmann

@PixsaOJ
Copy link

PixsaOJ commented Aug 23, 2022

Is it fixed now? @sschuhmann

Do I have to try #306 or is it in production?

@PixsaOJ
Copy link

PixsaOJ commented Aug 23, 2022

Ye it works thanks !!

@aunetx
Copy link
Owner

aunetx commented Aug 24, 2022

Cool! Please reopen this (or another issue) if there are still problems.

@aunetx aunetx closed this as completed Aug 24, 2022
@kittech0
Copy link

Still same issues

@YulBrinner90
Copy link

I could have a solution: a very weird solution. Go to setting --> monitors. Don't align perfectly the monitors. Give them a little, "microscopic", mismatch. In the #94 MichaelNr0h suggests the opposite but in my case the overview blurring works when the alignement is imperfect 😆

@alkstsgv
Copy link

I could have a solution: a very weird solution. Go to setting --> monitors. Don't align perfectly the monitors. Give them a little, "microscopic", mismatch. In the #94 MichaelNr0h suggests the opposite but in my case the overview blurring works when the alignement is imperfect 😆

Thx, bro. But I moved forward. I did all, like it's said above then rebooted PC, then did alignement is perfect again and it worked)))))))) Gnome Shell 42.9, ubuntu 22.04.3 LTS.

@befabry
Copy link

befabry commented Nov 26, 2023

I could have a solution: a very weird solution. Go to setting --> monitors. Don't align perfectly the monitors. Give them a little, "microscopic", mismatch. In the #94 MichaelNr0h suggests the opposite but in my case the overview blurring works when the alignement is imperfect 😆

This works, but why does it ? It's a hack more than a fix. Thanks though !

@kaibagley
Copy link

I'm also having these issues, using Wayland on Fedora Workstation 39. And I can also workaround by misaligning the displays as stated above 😆

@ParanoidNemo
Copy link

Confirm that issue is still here, top panel became transparent randomly and came back after opening and closing overview. Misaligning the display in settings weirdly solve it tho.

@acerspyro
Copy link

I could have a solution: a very weird solution. Go to setting --> monitors. Don't align perfectly the monitors. Give them a little, "microscopic", mismatch. In the #94 MichaelNr0h suggests the opposite but in my case the overview blurring works when the alignement is imperfect 😆

Worked for me. You can even re-align your monitors afterwards, and the fix will stick.
image

@Vyogami
Copy link

Vyogami commented May 8, 2024

Issue still persists:

Machine information:
GPU driver: Nvidia
Wayland
Gnome 46
Archlinux

image

@AYUSHKHAIRE
Copy link

AYUSHKHAIRE commented Jul 4, 2024

Hahah @YulBrinner90 sirs solution work ed for me :) Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests