[KisColorFilterCombo] Force ComboBox popup
ClosedPublic

Authored by broulik on Dec 4 2019, 1:48 PM.

Details

Summary

Only in this mode will Qt respect the contents of the ComboBox popup. This is what Fusion uses.

BUG: 406595

Test Plan
  • Filter combo is usable in Adwaita-Qt and Windows 95 style now. There's a minor size bug in Breeze I'll address separately there, see D25740

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Dec 4 2019, 1:48 PM
Restricted Application added a project: Krita. · View Herald TranscriptDec 4 2019, 1:48 PM
broulik requested review of this revision.Dec 4 2019, 1:48 PM
broulik edited the test plan for this revision. (Show Details)
broulik edited the test plan for this revision. (Show Details)Dec 4 2019, 1:53 PM
rempt added inline comments.Dec 4 2019, 2:20 PM
libs/ui/widgets/kis_color_filter_combo.cpp
174

This looks kind of weird? Returning a true for an int?

broulik added inline comments.Dec 4 2019, 2:22 PM
libs/ui/widgets/kis_color_filter_combo.cpp
174

That's what Qt and everyone else does. There's also style hints for "wheel scroll lines" and flags it may return.

rempt accepted this revision.Dec 4 2019, 2:22 PM

Okay :-)

This revision is now accepted and ready to land.Dec 4 2019, 2:22 PM
This revision was automatically updated to reflect the committed changes.