Sxiv: Different color handling in normal and fullscreen mode

Created on 22 Apr 2019  路  3Comments  路  Source: muennich/sxiv

In normal window mode background defines the color of the background (and the text of the statusbar) while foreground controls the background color of the statusbar.

In fullscreen mode the background is black while the statusbar uses background as the background and foreground for the text.

Version 25.

Most helpful comment

Obviously two colors are not enough if there is a different interpretation of the colors. I would expect that a background color is always the background and the same for a foreground color. As the bar has a different color I think that at least three colors (bar fg, bar bg, image bg) are necessary (or just bg and fg while the bar is simply inverted). But different interpretation depending on fullscreen state doen't make sense for me.

All 3 comments

Seems like line 453 of window.c does this intentionally.
image

Obviously two colors are not enough if there is a different interpretation of the colors. I would expect that a background color is always the background and the same for a foreground color. As the bar has a different color I think that at least three colors (bar fg, bar bg, image bg) are necessary (or just bg and fg while the bar is simply inverted). But different interpretation depending on fullscreen state doen't make sense for me.

I'll get rid of the special bg handling for fullscreen mode as soon as I have the time to do so.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crocket picture crocket  路  6Comments

wavexx picture wavexx  路  8Comments

anko picture anko  路  4Comments

MimaHakurei picture MimaHakurei  路  3Comments

rpdelaney picture rpdelaney  路  9Comments