blur-my-shell icon indicating copy to clipboard operation
blur-my-shell copied to clipboard

Panel blur does not work with multiple monitors

Open sschuhmann opened this issue 3 years ago • 29 comments

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

sschuhmann avatar May 05 '21 07:05 sschuhmann

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

31j avatar May 06 '21 17:05 31j

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

CorvetteCole avatar May 11 '21 03:05 CorvetteCole

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

sschuhmann avatar May 11 '21 06:05 sschuhmann

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.

31j avatar May 11 '21 13:05 31j

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 avatar May 11 '21 16:05 CorvetteCole

Possibly related to #49 (just a hunch)

CorvetteCole avatar May 11 '21 16:05 CorvetteCole

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 :)

aunetx avatar May 11 '21 16:05 aunetx

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 avatar May 12 '21 04:05 31j

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

31j avatar May 12 '21 04:05 31j

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

31j avatar May 12 '21 04:05 31j

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.

ruathudo avatar May 12 '21 08:05 ruathudo

@ruathudo that sounds like #47

CorvetteCole avatar May 12 '21 14:05 CorvetteCole

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)

aunetx avatar May 16 '21 14:05 aunetx

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

acerspyro avatar May 30 '21 18:05 acerspyro

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.

AndiLavera avatar Jun 03 '21 14:06 AndiLavera

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)

sp1ritCS avatar Aug 23 '21 17:08 sp1ritCS

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...

aunetx avatar Oct 05 '21 09:10 aunetx

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!

sacim51469 avatar Nov 18 '21 12:11 sacim51469

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!

acerspyro avatar Nov 21 '21 20:11 acerspyro

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

PixsaOJ avatar Dec 13 '21 12:12 PixsaOJ

I would love to help where possible!

Calcium3d avatar Mar 25 '22 13:03 Calcium3d

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

image

acerspyro avatar Mar 26 '22 02:03 acerspyro

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

Calcium3d avatar Mar 26 '22 03:03 Calcium3d

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!

aunetx avatar Mar 26 '22 17:03 aunetx

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.

acerspyro avatar Mar 27 '22 22:03 acerspyro

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 :)

aunetx avatar Mar 28 '22 10:03 aunetx

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 avatar Mar 28 '22 12:03 CorvetteCole

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.

CorvetteCole avatar Mar 28 '22 12:03 CorvetteCole

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

sp1ritCS avatar Mar 28 '22 20:03 sp1ritCS

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

ebanDev avatar Aug 16 '22 12:08 ebanDev