Tags: mftb0/cbxv
Tags
Added cursor hiding, Fixed fullscreen sync, fixed ui resizing, Update… …d gotk3 Now during periods of inactivity, while in fullscreen, the mouse cursor will be hidden along with the HUD. The idea is to reduce distractions in fullscreen. Fixed fullscreen state sometimes getting out-of-sync. This could happen if your Window Manager has a mechanism (like a hot-key) for making a window fullscreen. Internally the toggleFullscreen message was replaced with setFullscreen. A new window-state-event was added and cbxv commands now just set the window to Fullscreen or non-Fullscreen. The change in ui state, regardless of the cause, is caught in the window-state-event and the setFullscreen message is sent internally to update the model's fullscreen state. Fixed ui (header and nav) refusing to resize when no book was open. This was mainly cosmetic as there's almost nothing for these components to do when no book is open, but it was ugly. Updated gotk3 dependency to get the latest improvements.
Improvements to page turning Reverted to an earlier page turning strategy, but with a new optimization. Turning a page, a single time, should feel effortless and smooth. Most of all it should not distract from reading. Before sometimes there was grinding (the feeling that the computer was struggling). On another attempt it felt jerky or uneven. With the new setup, the page can always be displayed and then any other work follows. Added refreshSpreads command Reduced time wasted in printLoaded() Ensure never trying to render a partially loaded spread Added trace routines to better time function execution
Finished refactoring quit and fixing goroutine leak Quit message is now handled like everything else. The quit messagehandler which contains cleanup of any last open file and shutting down the gui is scheduled for when gui dispatch thread is ready. In the meantime the message handling goroutine exits plugging the leak. The leak was harmless, but fixing it amused me and allowed me to get rid of annoying messages about special handling of quit.
PreviousNext