Skip to content

Timezone chooser dialog artificially limits number of files that can be selected #118

@spacelama

Description

@spacelama

I'm trying to choose UTC to display a particular map. The obvious way to do this is to go into Settings->Set timezone, but the file chooser that comes up displays only a partial subset of files in any one zoneinfo directory, to the point where whole swathes of the world (and Etc/UTC) are not able to be selected.

Looking at the code, I just ask "why?"
Image

tim/prune/function/settings/SelectTimezoneFunction.java:

            // second list for offsets
            _listBoxes[LIST_OFFSETS] = new CombinedListAndModel(1);
            _listBoxes[LIST_OFFSETS].setMaxNumEntries(24);
            _listBoxes[LIST_OFFSETS].addListSelectionListener(new ListListener(LIST_OFFSETS));

            // third list for groups
            _listBoxes[LIST_GROUPS] = new CombinedListAndModel(2);
            _listBoxes[LIST_GROUPS].setMaxNumEntries(20);
            _listBoxes[LIST_GROUPS].addListSelectionListener(new ListListener(LIST_GROUPS));

            // fourth list for names
            _listBoxes[LIST_NAMES] = new CombinedListAndModel(3);
            _listBoxes[LIST_NAMES].setMaxNumEntries(20);
            _listBoxes[LIST_NAMES].addListSelectionListener(new ListListener(LIST_NAMES));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions