pop-os / gtk-theme

System76 Pop GTK+ Theme
GNU General Public License v3.0
780 stars 80 forks source link

Nautilus Pathbar Overhaul #604

Closed isantop closed 1 year ago

isantop commented 1 year ago

Revamps the styling for the Nautilus path bar to correctly styling the underflow elements and better align the visual style of the widget.

Before, the underflow elements for the scrolled window in the pathbar were being drawn with a solid color, which means they cover up items within the pathbar. This changes the styling to make items in the pathbar appear to smoothly fade out into the edges of the pathbar when it is too long to contain every item inside it.

In addition to fixing the underflow styling error and rectangular corners present in #603, this also squares off the corners on the right-hand side of the path bar to allow it to visually flow into the context toggle button; previously the bar remained rounded, which looked bad next to the toggle button. This also fixes the double-border between the items.

Before: image

After: image

Known Issues:

There are small visual artifacts in the left two corners of the path bar when the underflow is active and a button running off the edge of the pathbar is hovered. This appears to be an issue with the underflow rendering in GTK, and not something which can be addressed in the theme. However, this is also an uncommon issue to have happen in the first place, so I don't believe it should block this release.

Fixes #603