https://bugs.kde.org/show_bug.cgi?id=478271

Jakob Petsovits <jpe...@petsovits.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/-/commit/2a97
                   |                            |c14551b4db96a5d976667346c42
                   |                            |c5785e365
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jakob Petsovits <jpe...@petsovits.com> ---
Git commit 2a97c14551b4db96a5d976667346c42c5785e365 by Jakob Petsovits.
Committed on 05/01/2024 at 19:43.
Pushed by jpetso into branch 'master'.

kcmodule: Fix flicker when switching between profile tabs

This commit is not tackling whatever root cause might be causing
the flickering (likely related to delayed layouting in FormLayout).

Instead, we resolve the flicker by reusing the same single form
for all tabs. So we don't switch between different sets of controls,
but we merely reassign values for the one remaining set of controls.

On the implementation side, the main thing that's required is a new
Connections object with onProfileSettingsChanged() handler, to call
the same reset logic that some components already use for handling
change signals of individual properties within profileSettings.
Controls that never break property bindings do not need any changes.

M  +135  -62   kcmodule/profiles/ui/ProfileConfig.qml
M  +33   -39   kcmodule/profiles/ui/main.qml

https://invent.kde.org/plasma/powerdevil/-/commit/2a97c14551b4db96a5d976667346c42c5785e365

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to