[dolphin] [Bug 497803] On X11, minimizing Dolphin and then Alt-Tabbing back in focuses the Places panel instead of the files view

Felix Ernst bugzilla_noreply at kde.org
Mon Jan 6 15:48:05 GMT 2025


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

Felix Ernst <felixernst at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/bfeeb46 |em/dolphin/-/commit/a57ffc9
                   |c3ae0b6e933b0381cc10eebad38 |f1ece7cf196691ec878383bcc20
                   |a2b8c0                      |903da7

--- Comment #7 from Felix Ernst <felixernst at kde.org> ---
Git commit a57ffc9f1ece7cf196691ec878383bcc20903da7 by Felix Ernst, on behalf
of Felix Ernst.
Committed on 06/01/2025 at 15:17.
Pushed by felixernst into branch 'release/24.12'.

Fix focus changing when unminimising on X11

In f220e3b0783a24a6c7195f170297cf4b12a29d85 I made the keyboard
focus move to the places and terminal panel whenever they are
toggled visible. Unfortunately the QDockWidget::visibilityChanged()
signal is also emitted (at least on X11) simply when the window
containing that panel is minimized or restored. This commit
overrides the QDockWidget::event() method to ignore such
spontaneous show or hide events so QDockWidget won't emit the
visibilityChanged() signal then.


(cherry picked from commit bfeeb46c3ae0b6e933b0381cc10eebad38a2b8c0)

Co-authored-by: Felix Ernst <felixernst at zohomail.eu>

M  +17   -0    src/dolphindockwidget.cpp
M  +6    -0    src/dolphindockwidget.h

https://invent.kde.org/system/dolphin/-/commit/a57ffc9f1ece7cf196691ec878383bcc20903da7

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list