https://bugs.kde.org/show_bug.cgi?id=526669
Bug ID: 526669
Summary: SearchMessageByButtons doesn't work at all
Classification: Applications
Product: kmail2
Version First 6.8.1
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: search
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
SearchMessageByButtons doesn't work at all. These buttons are in the UI, but
all they do is:
void SearchLineStatus::clearFilterAction()
{
mHasFilter = false;
updateFilterLineEditBackgroundColor();
}
void SearchLineStatus::updateFilterLineEditBackgroundColor()
{
if (mColorName.isEmpty()) {
const KColorScheme::BackgroundRole
bgColorScheme(KColorScheme::PositiveBackground);
const KStatefulBrush bgBrush(KColorScheme::View, bgColorScheme);
mColorName = bgBrush.brush(palette()).color().name();
}
setStyleSheet(mHasFilter ? u"QLineEdit{ background-color:%1
}"_s.arg(mColorName) : QString());
}
void SearchLineStatus::clearFilterButtonClicked()
{
mHasFilter = false;
updateFilterLineEditBackgroundColor();
}
void SearchLineStatus::filterAdded()
{
mHasFilter = true;
updateFilterLineEditBackgroundColor();
}
STEPS TO REPRODUCE
1. Type in quick search "body:some text"
2. Click any search button
3.
OBSERVED RESULT
Background of quick search line edit changes to green. Nothing more happens.
EXPECTED RESULT
???
Operating System: openSUSE Tumbleweed 20261003
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 640 G3
--
You are receiving this mail because:
You are watching all bug changes.