Bug report #20910

Check Boxes + Setting Flags in Python in Ubuntu

Added by Dustin Parker-Ford over 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:3.4.3 Regression?:No
Operating System:Ubuntu 16.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:28729

Description

Rechecking check boxes in the QGIS UI is not possible in Ubuntu.

  • Example: Saving a layer's style
    - The check boxes to choose categories can be unchecked, but not rechecked.
    - After saving a layer style with certain category boxes unchecked, it is impossible to recheck them next time a style is saved.
    - The only way I found to reset the check boxes to a checked state was to delete the qgis3.ini file for the user on the computer (wiping all customization done to the QGIS UI).

Another related issue is setting certain flags with python does not seem possible.

  • Example: Setting flags for custom map themes with python.
    -QgsMapCanvas setTheme() python function does not set the flag

Screenshot at 2019-01-03 08-42-10.png - Layer Style Categories (53.1 KB) Dustin Parker-Ford, 2019-01-03 03:42 PM

History

#1 Updated by Alexander Bruy about 5 years ago

  • Status changed from Open to Feedback

Works fine in master. Please test and if issue still present provide steps to reproduce

#2 Updated by Alexander Bruy about 5 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

Also available in: Atom PDF