[dolphin] [Bug 508835] [easyfix] Search input text disappear because it is scrollable with pgup/pgdn

"Akseli Lahtinen" <[email protected]> Tue, 16 Sep 2025 16:39:39 +0000
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=508835

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/merge_requests |em/dolphin/-/commit/407ce07
                   |/1047                       |06a18b9e1245f7c52246a76b0e5
                   |                            |4939dc
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Akseli Lahtinen <[email protected]> ---
Git commit 407ce0706a18b9e1245f7c52246a76b0e54939dc by Akseli Lahtinen, on
behalf of Pan Zhang.
Committed on 16/09/2025 at 16:39.
Pushed by akselmo into branch 'master'.

animatedheightwidget: ignore PageUp/PageDown to avoid invisible scroll

When typing in the search bar (or other widgets using AnimatedHeightWidget),
pressing PageUp or PageDown would cause the internal QScrollArea (with hidden
scrollbars) to react and scroll. This made the entered text appear to disappear
even though focus stayed in the input field. PageUp and PageDown are now
intercepted in AnimatedHeightWidget to prevent the underlying QScrollArea from
handling them, ensuring input remains visible across all users of
AnimatedHeightWidget.

M  +16   -0    src/animatedheightwidget.cpp
M  +7    -0    src/animatedheightwidget.h

https://invent.kde.org/system/dolphin/-/commit/407ce0706a18b9e1245f7c52246a76b0e54939dc

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