diff options
| author | Māris Nartišs <[email protected]> | 2026-03-18 10:56:36 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-03-18 10:56:36 +0000 |
| commit | a7810673de828fec0861c11062491adaa85c8a00 (patch) | |
| tree | 3fa74b0ee96cb0e8bcd2526f4407937ff81f74a0 /src/dolphintabpage.h | |
| parent | a7cc959d5f1311ae928dd077b376570351ef5259 (diff) | |
DolphinTabPage: Prevent re-entrant signal activation for slotViewActivated
When switching tabs with split view enabled and the filter bar visible,
a storm of activation calls is triggered and at the end signal/slot
connections for both views is a mess (no listeners, navigation buttons
linked to unfocused view etc.).
Disconnect DolphinTabPage slot when it changes its own state.
BUG: 508554, 512011, 508405, 511076, 503576
Diffstat (limited to 'src/dolphintabpage.h')
| -rw-r--r-- | src/dolphintabpage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphintabpage.h b/src/dolphintabpage.h index b6135d360..421496ce9 100644 --- a/src/dolphintabpage.h +++ b/src/dolphintabpage.h @@ -204,6 +204,15 @@ private: */ void startExpandViewAnimation(DolphinViewContainer *expandingContainer); + /** + * Connect/disconnect DolphinView::activated → slotViewActivated for all + * current view containers. Used to suppress the signal during programmatic + * activation (tab switch, construction, session restore) so that + * slotViewActivated does not spuriously toggle m_primaryViewActive. + */ + void connectViewActivatedSignals(); + void disconnectViewActivatedSignals(); + private: DolphinTabPageSplitter *m_splitter; |
