Bug report #17903

Missing cancel (and help) button in the symbol selector dialogs

Added by Harrissou Santanna about 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:2.18.15 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:25799

Description

Open vector layer properties --> Style --> Categorized style
Do the classification
Double-clic on a category symbol or the [Change] widget
The dialog that opens misses Cancel button (and in master, also the Help button). This is inconsistent with clicking the symbol in the layer tree. Actually instead of using QgsSymbolSelectorDialog as this context requires (show a dialog) the code is using QgsSymbolSelectorWidget (like embedded widgets in the styling panel).
This also concerns graduated style and the Edit rule dialog

PR at https://github.com/qgis/QGIS/pull/5976/ for categorized and graduated for master
See https://github.com/qgis/QGIS/pull/6187 for rule-based

Associated revisions

Revision 1c34339b
Added by Harrissou Santanna almost 6 years ago

Use modal dialog when in properties dialog, allowing to cancel

the process and add help button (fix #17903).
Also fix crash that occurs when pressing ESC button.

and fix doc

History

#1 Updated by Harrissou Santanna about 6 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Description updated (diff)

#2 Updated by Harrissou Santanna almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF