enthought / enthought/traitsui

RangeEditor does not behave consistently for wx and Qt

Open
#1,771 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The RangeEditor behaves differently depending on if Qt or wx backend is used. The differences are listed below:

* Qt never use the 'auto_set' feature, which means it can never automatically update the value for every key stroke in the text editor which wx can.
* Wx can either update the value only on lost focus or a combinaton of lost focus, pushing the enter or tab keyboard in the text editor (the 'enter_set' feature), while Qt will only update on the combinaton of lost focus, pushing the enter or tab keyboard.
* Qt truncates the value copied or typed to the text editor silently, while wx shows an error message and color the background of the text box red.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.