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

Data defined size does not block the normal size menu #29886

Open
qgib opened this issue May 14, 2019 · 6 comments
Open

Data defined size does not block the normal size menu #29886

qgib opened this issue May 14, 2019 · 6 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented May 14, 2019

Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 22073
Affected QGIS version: 3.6.2
Redmine category:symbology


Happens both in the Style panel and in the main Symbology dialog.

Basically when a data defined value is used to overwrite the default size of the marker in the sub dialog it is still possible to change the size value (and the preview updates accordingly). The layer keeps the data defined values entered.

Two pictures worth a thousand words

QGI 3.4.6 and master


@qgib
Copy link
Contributor Author

qgib commented May 20, 2019

Author Name: Alessandro Pasotti (@elpaso)


Big question: is this issue limited to these two widgets or is it a general issue for ALL widgets and controls that have a Data-Defined property?

Because if it's the second, we might better think of a general solution instead of patching the widgets one by one.

@qgib
Copy link
Contributor Author

qgib commented May 20, 2019

Author Name: Alessandro Pasotti (@elpaso)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented May 20, 2019

Author Name: matteo ghetta (@ghtmtt)


I think it is a general situation for all the widgets. I tried with some of them (rotation, size) entering a field value while the same happens also for an expression entered ('solid' in the stroke style). Image attached.


  • 14955 was configured as ksnip_20190520-135720.png

@qgib
Copy link
Contributor Author

qgib commented May 20, 2019

Author Name: Nyall Dawson (@nyalldawson)


This is by design - the data defined overrides are overrides, and the original value is used whenever the override is null. So it's important to be able to change it even when an override is in place.

@qgib
Copy link
Contributor Author

qgib commented May 21, 2019

Author Name: matteo ghetta (@ghtmtt)


but it seems weird to me that, e.g. in case of the size, in the "main" dock panel the chance to enter a value is greyed out while, always for the size, it is available in the nested dock menu.

@qgib
Copy link
Contributor Author

qgib commented May 21, 2019

Author Name: Alessandro Pasotti (@elpaso)


Maybe we could change the tooltip to tell the user that DD is active and the value will be used as a default when DD expression is null.

@qgib qgib added Feedback Waiting on the submitter for answers Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 25, 2019
@gioman gioman added Feature Request GUI/UX Related to QGIS application GUI or User Experience and removed Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers labels Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

2 participants