Skip to content

perf: Main window: Display (empty) main window early to indicate startup progress

Daniel Brötzmann requested to merge startup-early-window into master

Displaying an empty window early in the startup process indicates progress. This is important, because it gives users feedback after clicking the Gajim icon to start Gajim.

This MR initializes the MainWindow's UI element early in the startup process, but defers the actual MainWindow initialization to where it was before this MR.

Random measurements show a 0.55s faster first window paint on my (quite performant) laptop (one account). Note that more enabled accounts increase this number. Also, on less perfomant hardware, this effect may increase.

Edited by Daniel Brötzmann

Merge request reports

Loading