Bug 317706 - Single selection for HolidayRegionSelector allows more than one selection
Summary: Single selection for HolidayRegionSelector allows more than one selection
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kholidays (show other bugs)
Version: 4.10
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: John Layt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 22:29 UTC by Ian Neal
Modified: 2017-01-07 22:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Neal 2013-04-01 22:29:59 UTC
If you use the HolidayRegionSelector with listSelectionMode set to SingleSelection and enableRegionUseFlags set to false then you can still select more than region.

Reproducible: Always

Steps to Reproduce:
1. Start Qt Designer
2. Create form with KHolidays::HolidayRegionSelector
3. Set listSelectionMode to SingleSelection and enableRegionUseFlags to false
4. Preview Form
Actual Results:  
1. You can select more than region by ticking the checkboxes

Expected Results:  
1. Ticking a second checkbox or should untick any other checkbox.

I did try and find examples where other code used HolidayRegionSelector used SingleSelection but couldn't. I expected the behaviour to be similar to that of QAbstractItemView::SingleSelection
Comment 1 Denis Kurz 2016-09-24 20:55:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kdepim (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:37:18 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.