Disk properties in Gnome Files (Nautilus) shows a black chart for disk usage on Ubuntu 22.04

Bug #2008791 reported by Marcus Aurelius
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
yaru-theme (Ubuntu)
Invalid
Low
Unassigned
Jammy
Fix Released
Low
Marco Trevisan (Treviño)
Lunar
Invalid
Low
Unassigned

Bug Description

[ Impact ]

if I open the Properties window for a disk (not a plain folder) the pie chart intended to show disk usage is all black (screenshot attached). On previous versions it used to have different colors for "used" and "free" space.

[ Test case ]

1. Open nautilus
2. go to "/" path or to the root of a disk
3. Right-click on an empty area (or in the headerbar) to open properties
4. The pie chart shown should use colors for the used space

[ Regression potential ]

The theme is applied to any other application using a similar widget tree with a drawing area with the '.disk-space-display' class

----

Testing a clean install on a virtual machine gives the same results so it's not an issue related to the upgrade process. I guess it's related to the theming features added to Ubuntu 22.04.

Revision history for this message
Marcus Aurelius (marcuscf) wrote :
Paul White (paulw2u)
affects: texinfo (Ubuntu) → nautilus (Ubuntu)
tags: added: jammy
Revision history for this message
Marcus Aurelius (marcuscf) wrote :

Despite affecting Nautilus from the user's perspective, on second thought I think the bug is in yaru-theme.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Which Ubuntu release, theme and variant are you using?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Changed in yaru-theme (Ubuntu):
importance: Undecided → Low
Changed in nautilus (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The missing style is called disk-space-display in nautilus: src/resources/css/Adwaita.css

no longer affects: nautilus (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in yaru-theme (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The bug is confirmed for jammy, but not in lunar where the pie chart has been replaced with a standard coloured progress bar.

Changed in yaru-theme (Ubuntu Lunar):
status: Confirmed → Invalid
Changed in yaru-theme (Ubuntu Jammy):
status: New → Confirmed
importance: Undecided → Low
Changed in yaru-theme (Ubuntu Jammy):
status: Confirmed → Fix Committed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of yaru-theme to jammy-proposed has been rejected from the upload queue for the following reason: "upload includes 450 lines of diff against cinnamon CSS which don't appear linked to any bugs in changelog".

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Marcus, or anyone else affected,

Accepted yaru-theme into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/yaru-theme/22.04.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
Revision history for this message
Marcus Aurelius (marcuscf) wrote (last edit ):

Verification done.

The pie chart works as expected now: main color for used space and some light gray for free space. Unfortunately the small squares next to xxx MB/TB used/free are still invisible instead of indicating the color used for each slice. I don't think this is enough to fail validation, since they weren't in the original bug report anyway.

Version tested: 22.04.5 from jammy-proposed

tags: added: verification-done-jammy
removed: verification-needed verification-needed-jammy
tags: added: verification-done
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

> Unfortunately the small squares next to xxx MB/TB used/free are still invisible instead of indicating the color used for each slice. I don't think this is enough to fail validation, since they weren't in the original bug report anyway.

These seems to use different theming path, can be addressed but I couldn't figure out the proper one.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package yaru-theme - 22.04.5

---------------
yaru-theme (22.04.5) jammy; urgency=medium

  [ Paul Kepinski ]
  * Add osd monitor labels theming (LP: #1979037)
  * Fix slider states (LP: #2019475)
  * Gtk3: fix marks scale visibilty on hover (LP: #2019477)
  * Gtk3: fix invisible check and radio in selected row (LP: #2019476)
  * Fix uncentered cursors (LP: #2019479)
  * Sync Gtk3 with upstream (only reference code, see debian/README.source)

  [ Marco Trevisan (Treviño) ]
  * dock: Fix margins making the dock show-apps clickable (LP: #1966167)
  * debian: Update references to ubuntu/jammy branch
  * nautilus: Ensure disk-space-display items are themed (LP: #2008791)
  * debian/README.sources: Explain better the role of the upstream folders

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 09 Jun 2023 21:38:14 +0200

Changed in yaru-theme (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for yaru-theme has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.