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

[BUG]: wrong Bottom position of bar #56

Closed skyxx closed 3 months ago

skyxx commented 4 months ago

Describe the bug When set bottom position of bar its displayed only half of his height. Looks like problem with margin. When i try setup bar height or margins it is showed on good position but when finished final position is with negative position to original.

To Reproduce Steps to reproduce the behavior:

Relevant Specs:

Screenshots Helpful to see if there is a visual bug or if your Top Bar is modified by another extension that may be causing an interference. Screenshot from 2024-07-18 11-57-56

Error Stack Trace none

neuromorph commented 4 months ago

Thank you for reporting! I am however unable to reproduce it. I had tested on Gnome 46 on Ubuntu and Fedora Workstation. I also launched a fresh VM now with Fedora WS 40 and updated it to Gnome 46.3.1 and installed Open Bar 36. It works as expected in Bottom position also. Expected behavior: it will be fully visible at bottom edge when margin is zero and will move up further from the edge when margin is increased.

I would need you to try a few things so we can try to narrow down where the issue might be coming from:

Thanks.

skyxx commented 4 months ago

Hi, thank you for fast reply and hints.

I have notebook with high resolution and 200% scaling which is the issue. Returning it to 100% bottom position is ok. Interesting is that Top position with high scaling is ok.

neuromorph commented 4 months ago

Thank you for the update - the panel box position at bottom depends on its height which needs to scale with Display scaling. I have added a fix to the GitHub main branch. Two files have been updated: extension.js and stylesheets.js. You can replace these files in your local install with those from GitHub and try out.

Edit: You will need to log out and log back in for the changes to take effect.

Let me know how it goes. Thanks.

skyxx commented 4 months ago

Hi Neuromorph, changes helped. Thank you for quick fix. :)

neuromorph commented 3 months ago

New version (v37) with the fix is now up on Gnome extensions web, closing here.