neuromorph / openbar

A GNOME Shell extension for theming Gnome Top Bar / Top Panel, Menus, Dash/Dock, Gnome Shell and Gtk/Flatpak Apps.
https://extensions.gnome.org/extension/6580/open-bar/
GNU General Public License v3.0
268 stars 4 forks source link

It moves the top panel to the second screen #30

Closed GovenorKratos closed 5 months ago

GovenorKratos commented 7 months ago

Whenver I enable the extension, it moves the top bar to the second display.

I'm not sure if it's an Nvidia issue or if I'm just unlucky to have a laptop with 2 graphics that I can't switch between. The HDMI is connected to the dGPU directly and the iGPU is connected to the laptop display. (not sure if this is helpful, just mentioning if anyone tries recreating).

I can't use the extension without it jumping the entire top bar over to the second display. This makes my dock on the primary display and the top bar on the non primary display.

neuromorph commented 7 months ago

Open Bar tries to keep the panel on the monitor that it is found to be on. This is since some extensions allow moving the panel to other monitors. However, I found a bug that made it dependent on the connections and layout of the multi-monitors, that most likely caused this issue. I have fixed it and uploaded to GitHub. NOTE: It is only available in 'main' branch which is for Gnome 45+ (I will backport it later). I assume you are also on Gnome 45/46. It would be great if you manually install it from GitHub. Since I have also added few other fixes for other issues you will be getting those as well. You can clone the repo and replace the local installation directory with it OR you can download and replace the following at least:

Let me know how it goes.

Thank you for reporting!

neuromorph commented 5 months ago

The fix is now part of the live version published in E.G.O. (Gnome Extensions web), so closing this issue.