yozoon / gnome-shell-extension-blyr

Apply a Blur Effect to GNOME Shell UI elements
https://extensions.gnome.org/extension/1251/blyr/
GNU General Public License v2.0
222 stars 18 forks source link

[Multiple displays] Panel blur is shown incorrectly on primary display, but correctly if secondary display is default #48

Open NicoSoler opened 4 years ago

NicoSoler commented 4 years ago

Describe the bug I have a two display system, with my main display being Diplay 1 (the horizontal monitor). When I try to activate blyr for the main panel, a fraction of the panel's background (around a third of it) is both blurred and darkened, while the rest of it remains the same.

This is using my main display as primary: Captura de pantalla de 2020-07-02 00-26-32

This is using my secondary display as primary: Captura de pantalla de 2020-07-02 00-27-23

This is using Transparent Top Bar. The combination of both worked just fine until last Blyr's update.

I also tested with a variety of other "transparent panel" extensions (except Dynamic Panel Transparency, because they lack 3.36 support). All with the same result (only a third of the panel is blurred + darkened) on my main display.

Expected behavior The panel on the main display should be blurred normally.

Configuration (please complete the following information):

Just in case, system specs:

alzeck commented 4 years ago

I have the same on Arch issue it seems that only work if the primary display is the to the left or on top of the others.

kupokunic commented 4 years ago

Was bugging me so I decided to take a look. If you download the source and install it that way, you can fix this issue by doing the following:

As far as I can tell, this works with any multi-monitor orientation. But it'll need testing to confirm.

Screenshot below to show it working:

Screenshot-20200818184258-3440x2520

NicoSoler commented 4 years ago

Hi, I made the test on my system (completely removing Blyr first, then running make local-install on the changed extension). It didn't work :(

kupokunic commented 4 years ago

Hi, I made the test on my system (completely removing Blyr first, then running make local-install on the changed extension). It didn't work :(

Try playing around with the tpx settings too then. Those two fields are how you fix this for multimonitor support, but it may be on a case-by-case basis until yozoon can get it updated officially.