Skip to content
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

[gui] Fix cursor jump when editing row/column width of a cell in the table designer #55941

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Jan 23, 2024

Description

This PR gets rid of needless clearing and re-setting of value in our QgsSpinBox and QgsDoubleSpinBox when setting a custom clear value (setClearValue) or clear value mode (setClearValueMode).

The improvement fixes #50257 , whereas typing a value in the manual table designer's cell row height / column width spin boxes would have the cursor jump at the end of the line edit at every stroke.

@nirvn nirvn added GUI/UX Related to QGIS application GUI or User Experience backport release-3_28 backport release-3_34 labels Jan 23, 2024
@github-actions github-actions bot added this to the 3.36.0 milestone Jan 23, 2024
Copy link

github-actions bot commented Jan 23, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 9c7a0e3)

@DelazJ
Copy link
Contributor

DelazJ commented Jan 23, 2024

backport to 3.28?

@nyalldawson
Copy link
Collaborator

@DelazJ only crash fixes/data corruption fixes should be backported for the final 3.28 release

@DelazJ
Copy link
Contributor

DelazJ commented Jan 23, 2024

I actually was suggesting @nirvn to remove the label since 3.28 is EOL. Looks like @rouault removed it while I was writing and I didn't pay attention.

backported for the final 3.28 release

We already have the final 3.28 release, don't we?

@nyalldawson
Copy link
Collaborator

@nirvn this is a valid test failure

@nirvn
Copy link
Contributor Author

nirvn commented Jan 24, 2024

@nyalldawson , fixed.

@nyalldawson nyalldawson merged commit a3ed6cb into qgis:master Jan 25, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-3_34 GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

print layout: cursor jumps when changing cell size of fixed table
4 participants