xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
944 stars 83 forks source link

status-bar.uc.js new version for 109 makes browser-bottombar visible in fullscreen mode #236

Closed rebmcr closed 1 year ago

rebmcr commented 1 year ago

This is most apparent when using a video site such as YouTube. A 1080p video ends up slightly shrunk, rather than mapping 1:1 to the pixels on a 1080p display.

I'm seeing this behaviour on Windows 10.

Lalarian commented 1 year ago

Yes. I have the same issue here: statusbar Also: The status bar in normal mode (non fullscreen) is higher than usual. If I disable the status bar in Firefox' 'View' menu, then the status bar gtes smaller and only the pure grey area that's also visible in fullscreen remains, but it's not working as a status bar- for exmple hovered links are not shown in the grey bar, but are floating at the loeft above the bar, in their default grey bubble.

I am on Manjaro-Linux using Firefox 109.0 (64-Bit).

rebmcr commented 1 year ago

I have devised a fix for this issue. Add the following to userChrome.css (or to a .css file included by it):

#browser-bottombox {
    display: contents;
}
rebmcr commented 1 year ago

It gets overwritten after a while, use this instead:

#browser-bottombox {
    display: contents!important;
}
Lalarian commented 1 year ago

Hi! I tried both way, but for some reason none made a difference :( I also flushed sthe startup-cache. Do you have an idea why?


GNU nano 7.2                                                                                            /usr/share/doc/matcha-gtk-theme/firefox/chrome/userChrome.css                                                                                                       

/* Import theme */

@import "Matcha/theme.css"; /**/

/*
 * Here you can enable other theme features not included by default.
 * To enable a specific feature, uncomment its @import line by removing "/*" at
 * the beginning of the line. To disable it, put the "/*" back.
 */

/* Hide the tab bar when only one tab is open (GNOMISH)
 * You should move the new tab button somewhere else for this to work, because by
 * default it is on the tab bar too. */
/*@import "Qogir/hide-single-tab.css"; /**/

/* Limit the URL bar's autocompletion popup's width to the URL bar's width (GNOMISH)
 * This feature is included by default for Firefox 70+. */
/*@import "Qogir/matching-autocomplete-width.css"; /**/

/* Use normal width tabs */
/*@import "Qogir/normal-width-tabs.css"; /**/

/* Active tab high contrast */
/*@import "Qogir/active-tab-contrast.css"; /**/

/* Use system theme icons instead of Adwaita icons included by theme */
/*@import "Qogir/system-icons.css"; /**/

/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED]
 * It can activate button action, with unpleasant behavior. */
/*@import "Qogir/drag-window-headerbar-buttons.css"; /**/

/* Make all tab icons look kinda like symbolic icons */
/*@import "Qogir/symbolic-tab-icons.css"; /**/

/* Import a custom stylesheet
 * Everything you add in your customChrome.css file (it doesn't exist by
 * default) will be included here and preserved between updates, so you can move
 * your configuration to that file if you don't like setting it up after every
 * update. You can also apply your own custom styles in that file. */
@import "customChrome.css"; /**/

#browser-bottombox {
        display: contents!important;
}
xiaoxiaoflood commented 1 year ago

Thanks for reporting. Fixed in the new version I just uploaded.