After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578136 - Icons text goes dark if setting a dark background and then switching between Icons and List view
Icons text goes dark if setting a dark background and then switching between ...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Backgrounds Emblems and Themes
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 578137 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-06 14:22 UTC by Pedro Villavicencio
Modified: 2009-12-04 10:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
I get the same problem when I open a new tab in the same window. See attached screenshot (105.60 KB, image/jpeg)
2009-04-21 06:34 UTC, Derrick
Details

Description Pedro Villavicencio 2009-04-06 14:22:45 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/nautilus/+bug/356289

"If I set a dark background (pattern or color) the icons text goes white, as expected.
If I then switch to List view (Ctrl+2) and then back to Icons view (Ctrl+1) the icons text becomes dark, barely unreadable."

Thanks,
Comment 1 Derrick 2009-04-21 06:34:25 UTC
Created attachment 133018 [details]
I get the same problem when I open a new tab in the same window.  See attached screenshot
Comment 2 Derrick 2009-04-21 06:37:53 UTC
Comment on attachment 133018 [details]
I get the same problem when I open a new tab in the same window.  See attached screenshot

This started happening when I upgraded from Intrepid to Jaunty
Comment 3 bigtrouble77 2009-05-27 14:14:00 UTC
I can also add that dragging and dropping the same background color will not fix the font issue.  You have to drag a new background over, then drag your initial background over to initiate the color change. 
Comment 4 Cosimo Cecchi 2009-05-28 12:32:02 UTC
Fixed in master.

commit 7b86b78e2ff6a0f1b45ac8f8a9c30cf3d0c6ae96
Author: Cosimo Cecchi <cosimoc@gnome.org>
Date:   Thu May 28 14:28:55 2009 +0200

    Emit APPEARANCE_CHANGED when setting the bg color
    
    Emit the APPEARANCE_CHANGED signal when we're setting the color, as
    we're ignoring the pending changes after the backgorund is realized, and
    thus we're not getting color updates (#578136).
Comment 5 Cosimo Cecchi 2009-06-26 08:26:52 UTC
*** Bug 578137 has been marked as a duplicate of this bug. ***
Comment 6 Pedro Villavicencio 2009-09-07 15:31:24 UTC
This is still an issue with Nautilus 2.27.91, test case:

- Choose the Blue Type background and apply that to the Icon View
- The text there is White
- Change to the List View and back to Icon View
- The text on the view is now Black
Comment 7 Alexander Larsson 2009-12-04 10:52:14 UTC
Yeah, that fix was not right. We ignore the pending change for a reason (to avoid creating the desktop background pixmap twice).

The real reason seems to be the initial style_set causing a background-changed event which re-realizes the background at an unfortune time.

Commited fixes for this to master and gnome-2-28