[pim/mailcommon/release/26.08] src/search/widgethandler: Bug 524045 : tags selected in filter is incorrect

Allen Winter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8c17d694d8de8b5bcdcb78007a137bfc1e27dbcd by Allen Winter.
Committed on 10/08/2026 at 13:53.
Pushed by winterz into branch 'release/26.08'.

Bug 524045 : tags selected in filter is incorrect

In tag search combo box, tag value is defaulted to its index if called before combo box is asynchronously failed. So fill it synchronously (for normal usage, should not have such many tags it's long to wait)

Corrects :

BUG: 524045

i filled.


(cherry picked from commit 00d13779dcd81ce640f778f35a070296eda63fb8)

083a840e Bug 524045 : tags selected in filter is incorrect

Co-authored-by: Grégory Okerampa <[email protected]>

M  +1    -1    src/search/widgethandler/tagrulewidgethandler.cpp

https://invent.kde.org/pim/mailcommon/-/commit/8c17d694d8de8b5bcdcb78007a137bfc1e27dbcd

diff --git a/src/search/widgethandler/tagrulewidgethandler.cpp b/src/search/widgethandler/tagrulewidgethandler.cpp
index 5c08baa5..318ccbbb 100644
--- a/src/search/widgethandler/tagrulewidgethandler.cpp
+++ b/src/search/widgethandler/tagrulewidgethandler.cpp
@@ -145,7 +145,7 @@ QWidget *TagRuleWidgetHandler::createValueWidget(int number, QStackedWidget *val
         valueCombo->addItem(QString()); // empty entry for user input
 
         auto job = new FillTagComboJob(valueCombo);
-        job->start();
+        job->exec();
 
         valueCombo->adjustSize();
         QObject::connect(valueCombo, SIGNAL(activated(int)), receiver, SLOT(slotValueChanged()));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.