Tried the distarctionfree plugin at rev620 on fullscreen mode. Works quite well. Great job Jaap.
Just a little strange behavior : when i switch back to windowed mode, the background-color of the page is not the original background-color (#fff). If i close and reopen zim, everything's turns fine again.
Here's the output running zin -D when i turn the fullscreen mode on and off:
This last set of style rules is read from gtk.Entry, but zim page is a gtk.TextView widget ; reading it from gtk.textView gives the correct background-color when i come out from fullscreen mode.
Hi Jaap, hi all.
Tried the distarctionfree plugin at rev620 on fullscreen mode. Works quite well. Great job Jaap.
Just a little strange behavior : when i switch back to windowed mode, the background-color of the page is not the original background-color (#fff). If i close and reopen zim, everything's turns fine again.
Here's the output running zin -D when i turn the fullscreen mode on and off:
[rnb@localhost zim]$ DEBUG: Action: toggle_fullscreen
DEBUG: Fullscreen changed: True
DEBUG: Action: toggle_toolbar
DEBUG: Action: toggle_statusbar
DEBUG: Parse RC: >>>
style "zim-colors"
{
base[NORMAL] = "#babdb6"
text[NORMAL] = "#2e3436"
bg[NORMAL] = "#2e3436"
}
widget "*.zim-pageview" style "zim-colors"
<<<
DEBUG: Action: toggle_panes
DEBUG: Action: toggle_fullscreen
DEBUG: Fullscreen changed: False
DEBUG: Action: toggle_toolbar
DEBUG: Action: toggle_statusbar
DEBUG: Parse RC: >>>
style "zim-colors"
{
base[NORMAL] = "#ededed"
text[NORMAL] = "#313739"
bg[NORMAL] = "#ededed"
}
widget "*.zim-pageview" style "zim-colors"
<<<
DEBUG: Action: toggle_panes
This last set of style rules is read from gtk.Entry, but zim page is a gtk.TextView widget ; reading it from gtk.textView gives the correct background-color when i come out from fullscreen mode.
Patch attached.
regards