Saturday, 27 August 2022

zero coverity defects for hunspell


After the recent 1.7.1 release of hunspell I spent a little time massaging the source to address some long standing coverity complaints and achieved the elusive 0 outstanding defects with 0 dismissed state.

Wednesday, 3 August 2022

GTK[3|4] GtkScrollbar for writer documents


GTK4 screenshot of writer using true GtkScrollbars rather than themed Vcl ScrollBars. Long press enters gtk's usual fine control mode for scrolling.

Thursday, 28 July 2022

GTK4: Toolbar popups via GtkPopovers


Bootstrapped using GtkPopovers to implement popups from LibreOffice's main menubars for GTK4.

Thursday, 19 May 2022

Dark Style Preference with GTK

Added something to track the org.freedesktop.appearance.color-scheme property as used by the GNOME 42 Dark Style Preference setting. Screencast recorded with the new iteration of GNOME's screen built-in recorder which is quite snazzy.

Sunday, 17 April 2022

GTK: Calling attention to a widget in LibreOffice with CSS animation

The motivation here is Use attention-attracting cue when pressing Ctrl+F while in the find bar and do "something" to call attention to the widget. I thought I'd try some of the built-in GTK CSS support. So here we animate the widget to reduce its left and right margins inwards a little and its opacity to 50% before returning to its original properties.

Nothing is ever simple, so in order to repeat the animation (the second time ctrl+f is pressed while the widget has focus) we have to duplicate the animation and use the other copy when the previous copy was last run.

Tuesday, 12 April 2022

GTK4: ComboBox Cell Renderers


Custom Gtk Cell Renderer in GTK4 GtkComboBox in LibreOffice now working as hoped for.

Friday, 18 February 2022

GTK4: Using GtkMediaStream in LibreOffice


Today's GTK4 version of LibreOffice (towards 7.4) using the first cut of my efforts to use GtkMediaStream + GtkPicture for video playback. Works a lot better than this video of a video suggests ;-)