-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graduated classification w. fixed interval: fix or mitigate UX issue #51714
Graduated classification w. fixed interval: fix or mitigate UX issue #51714
Conversation
Fix qgis#51687 by using a timer to detect end oftyping in the interval spinbox.
@nyalldawson I tested your PR and it doesn't seem to fix the issue. I still get continuous updates while typing. |
I downloaded Nyall's mingw build and give it a try on Monday |
What am I missing? here's what I see with my branch: Peek.2023-02-06.10-56.mp4 |
I tested your branch with the world layer and a costly expression which involves $area, this takes a decent amount of time to calculate when the fixed interval is small. In that case, when you type the first digit it starts calculating and freezes the GUI even if you type fast. Also, the original bug of misinterpretation of decimals was due to non-english locale with comma separator for decimals. But if you feel ok with this solution I have no objections. |
I agree that the freezing UI is a bit annoying but personally, I prefer this rather than misinterpretation of decimals. |
Wasn't the misinterpretation of decimals fixed (or mitigated) by my PR too? But yes, I also though of merging the two approaches. |
I also think we'll need both for the best experience 👍 |
@nyalldawson I'll cherry-pick your commit and re-test the merge if that's ok with you. |
The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
@nyalldawson what do we do with this (and yours #51720 PR) ? Summarizing:
I honestly don't care who is right but this seems a big waste of time, should we merge both? |
I definitely think both should be merged. I'd like to see us take more caution in future of unnecessary immediate responses to keystrokes, just like you've done here, so this PR is very welcome. But the other one is also desirable because it will fix the case when a user "pauses" mid-way through entering a new value. So let's merge this, then I'll get mine ready to merge too. |
Fix #51687 by using a timer to detect end of typing in the interval spinbox.