Re: EOG background color ... when in fullscreen mode



Am Donnerstag, den 05.01.2012, 01:56 +0100 schrieb Ana Dolosa:
>   Hello,

Hi Ana,


>   I consider EOG such a great tool ... to the point that I am still
> using it as my primary image viewer even though I migrated to KDE
> some time ago.

that's always nice to hear. :)

>   I always wanted to be able to modify the background color  ... when
> in FULLSCREEN mode (BLACK by default on my laptop).
> 
>   These days I have had some time for gathering information to look
> for a way to carry it out ... and this is what I have found ...
> 
> - In 2009 something similar was requested ( Bug 569025 ;
> https://bugzilla.gnome.org/show_bug.cgi?id=569025 ) :
> 
>       At the end of the thread a responsible stated ...     “I'd
> prefer to have this defined in a theme, instead of enforcing this to
> eog users or adding a preferences for that. You can probably tweak
> this in gtkrc file. Closing as WONTFIX. Thanks for the report anyway!”
> 
>   The argument seems reasonable ...  but ... I didn't lose my faith.

Well, this part is actually possible to do. If you are using a eog-3.x
you can add the following CSS to your GTK-3 user overrides
(~/.config/gtk-3.0/gtk.css) to paint your collection background black:

EogThumbView {
	background-color: black;
}

>   I am using 'oxygen-gtk' style for gtk+ apps on KDE ... the practical
> result of this setup is that widgets, COLORS, typographies on gtk+
> apps are virtually identical to qt native ones.

Hmm, okay. Is this actually compatible to GTK+-3.x already or is it
still GTK+-2.x only?

>   Coming back to my original itch ( being able to modify background
> color of EOG when in fullscreen mode) ... according to the  previous
> comment “I'd prefer to have this defined in a theme” ... all I had to
> do was to define at KDE theme level the 'background color on
> fullscreen mode' I wanted ... then 'oxygen-gtk' style would replicate
> the settings for my EOG install in Kubuntu. But I bumped into an
> strange KDE bug ...
> 
> 
> - In 2005 it was requested having the availability to set the
> background color in fullscreen mode on KDE ( Bug 101634 ;
> http://bugs.kde.org/101634 ) :
> 
>    In May 2011 a responsible stated ...    “Fullscreen mode is
> designed to be more IMMERSIVE than browse or view mode. This
> is the reason why the background is HARDCODED TO BLACK.”
>  
>   The bug was closed as (RESOLVED ; WONT FIX)
> 
> 
>   Sincerely ... my personal opinion is that the 'IMMERSIVE' argument
> is not a good one ... not at all.
> 
> 
>   Now I am STUCK ... at EOG they prefer the background color when in
> fullscreen to be set at theme level ... and in KDE this level is
> HARDCODED to black because Fullscreen mode is designed to be more
> 'IMMERSIVE' .

Well, "IMMERSIVE" isn't the term I'd use for it. But generally dark
backgrounds are prefered for this due to the better contrast to the
displayed image. That's also the reason why eog-3.x uses a darker theme
variant (if available).
> 
> 
>   I don't feel brave enough myself for negotiating about 'IMMERSIVE'
> issues and ... even though I understand EOG initial position is
> reasonable ... I also consider that having the availability of setting
> background color when in fullscreen would also be a great feature ...
> that would make ALL EOG users independent from the desktop
> environment ... which shouldn't be a bad thing.
> 
> 
>   And my question ...
> 
>      ... is there any chance this additional feature could be
> implemented so that EOG users outwards GNOME could face things in an
> less difficult way ?
> 
> 
>   Or at least ... 
> 
>      ... anybody knows a way / trick / workaround  so that I can
> customize the background color of EOG when in fullscreen mode ?    ...
> maybe the 'gtkrc' way ?????

It depends a bit on the version of eog you are using. eog-2.x uses GTK
+-2.x and would require an override in a gtkrc file while eog-3.x/gtk
+-3.x can be overriden using CSS (as shown above).

The problem is that we set the background color programmatically when
entering fullscreen mode and reset it upon leaving. This makes
overriding through the theming system unavailable for this case. I
wouldn't want to add a GSettings entry for this (like the other color
settings) though as this setting would be changed by even less users.

So, all I could offer would be to improve the possibility to theme the
image view widget in fullscreen, although I have no idea about what
would be the best way to do it.

Anyway, I'd ask you to open a ticket in our Bugzilla for this request as
it makes it generally easier to track for us.

Regards,

Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]