A mouse-motion event received through the X11 connection while dragging calls
Launcher::UpdateDragWindowPosition ()
which calls
LauncherModel::ReorderBefore () or LauncherModel::ReorderSmart ()
which calls
LauncherModel::Sort ()
which emits
LauncherModel::order_changed
which calls
LauncherController::SortAndSave ()
which calls
FavoriteStoreGSettings::SetFavorites ()
which calls
g_settings_set_strv ()
That function from libgio calls the write vfunc from GSettingsBackendClass. Commenting that call removes the I/O peak and makes the rendering faster.
I'm not sure why the favorites must be written while dragging, but I guess it could be done at the end of the drag?
That's it Didier!
A mouse-motion event received through the X11 connection while dragging calls :UpdateDragWind owPosition () ::ReorderBefore () or LauncherModel: :ReorderSmart () ::Sort () ::order_ changed oller:: SortAndSave () GSettings: :SetFavorites () set_strv ()
Launcher:
which calls
LauncherModel
which calls
LauncherModel
which emits
LauncherModel
which calls
LauncherContr
which calls
FavoriteStore
which calls
g_settings_
That function from libgio calls the write vfunc from GSettingsBacken dClass. Commenting that call removes the I/O peak and makes the rendering faster.
I'm not sure why the favorites must be written while dragging, but I guess it could be done at the end of the drag?