*** *** SUMMARY When I try do create/edit an advanced search, if I click on "Album --- Search albums located in..." I'm missing the context menu (i.e., I cannot select/deselect all children albums, etc.).- STEPS TO REPRODUCE 1. Go to "Search" 2. Select "New Advanced Search..." or "Edit Current Search..." 3. On the "Album" area, click on the "Albums" and then of the Albums tree, right-click to select an album OBSERVED RESULT No context menu is shown EXPECTED RESULT There should be a context menu allowing you to select/deselect children albums, etc. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION Kernel Version: 6.11.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 22 × Intel® Core™ Ultra 7 155H Memory: 30.8 GiB of RAM Graphics Processor: Mesa Intel® Arc The problem is not present on the latest Appimage and it was present on the Digikam version 8.4.x (on Arch Linux)
I don't understand the bug report. Only saved advanced searches have an entry for editing, saved quick text searches don't. But you don't seem to see a context menu in the album tree view either? Are you using Wayland? If the problem isn't present in the AppImage, it might not be a digiKam problem. Maik
Ok, strange, now I understand it, the album selector in the advanced search itself. Yes, in the AppImage it has a context menu, in my native Qt6 digiKam version it doesn't. Maik
Git commit 4361eff27d793e77d0c83e2477405f8861cfa2ba by Maik Qualmann. Committed on 16/11/2024 at 22:31. Pushed by mqualmann into branch 'master'. workaround for a missing context menu event in Qt-6.8.0 This is a strange behavior of the QTreeView in a QComboBox starting with Qt-6.8.0, we do not receive a context menu event, and we cannot create a custom context menu via signal/slot. M +27 -1 core/libs/widgets/combo/comboboxutilities.cpp https://invent.kde.org/graphics/digikam/-/commit/4361eff27d793e77d0c83e2477405f8861cfa2ba
A context menu is now available again with Qt-6.8.0, the reason it does not appear in our bundles is because we are still using Qt-6.7.x there. I see 2 reports in the Qt bug tracker üossible related to this problem, it is supposed to be a regression in Qt-6.8.0 and is fixed in Qt-6.8.1. I will test it when I have such a Qt version available. Maik