Opened 13 years ago

Last modified 13 years ago

#3761 new bug

"Cancel" button in Symbol properties dialogue has the same effect as "OK" button.

Reported by: Alister Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: GUI Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: XP Awaiting user input: no

Description (last modified by jef)

  1. open the layer properties for a vector layer
  2. click the "Change" button on the left hand side of the window. This opens the Symbol properties dialogue
  3. change something (e.g. click the + button to add a symbol layer)
  4. click "Cancel"
  5. click the "Change" button again: you will see that the changes you made last time have been applied (e.g. the new symbol layer is still there), even though you clicked "Cancel".

FWIW I'm running r15740

Change History (3)

comment:1 by jef, 13 years ago

Description: modified (diff)

comment:2 by Alister, 13 years ago

Sorry: the "Change" button I referred to is in the "style" tab, of course.

(and thanks for fixing my formatting Jef :) )

comment:3 by jctull, 13 years ago

Also, please note this ticket. https://trac.osgeo.org/qgis/ticket/3427

In effect, the ok button causes rendering to occur again, for instance, after already hitting the apply button in the style dialog. The cancel button does not cause this re-rendering to occur, so it does have unintended functionality different from the ok button. At least that is true on my OS X system.

Note: See TracTickets for help on using tickets.