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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-integration/-/com
                   |                            |mit/136ddab12fd73c05e48ebdf
                   |                            |9f483eace288e8fd7
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Méven <[email protected]> ---
Git commit 136ddab12fd73c05e48ebdf9f483eace288e8fd7 by Méven Car, on behalf of
Ramil Nurmanov.
Committed on 08/05/2026 at 15:02.
Pushed by meven into branch 'master'.

kdeplatformfiledialoghelper: Initialize dialog early on pre-show
selectNameFilter()

When QFileDialog::selectNameFilter() or selectMimeTypeFilter() is called before
exec()/show() in native mode, the filter list in KFileFilterCombo is not yet
populated, resulting in the warning:
kf.kio.filewidgets.kfilefiltercombo: Could not find file filter ...
This patch fixes the  issue by calling initializeDialog() early if the dialog
is not yet initialized and filters are already set in options. The change is
minimal and safe.

M  +0    -2    qt5/autotests/kfiledialog_unittest.cpp
M  +6    -0    qt5/src/platformtheme/kdeplatformfiledialoghelper.cpp
M  +5    -3    qt6/autotests/kfiledialog_unittest.cpp
M  +6    -0    qt6/src/platformtheme/kdeplatformfiledialoghelper.cpp

https://invent.kde.org/plasma/plasma-integration/-/commit/136ddab12fd73c05e48ebdf9f483eace288e8fd7

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

Reply via email to