Comment 5 for bug 1374870

Revision history for this message
su_v (suv-lp) wrote :

@Geoff - thank you for working on a fix for this issue!

Question: any special reason to remove support for per-document custom default guide color? A quick test with Inkscape 0.91+devel r14237+diff from your branch (r14229) shows that while loading the color defined for an individual guide line works as expected, a custom default guide color defined per document in 'Document Properties > Guides' is now ignored once the document is reloaded (the custom guide highlight color still works though). Additionally - changing the default guide color in document properties temporarily overrides custom colors set per guide (they are restored once the document is reloaded).

Steps to reproduce:
1) launch inkscape
2) in the new document, change guide color in document properties (e.g. to green)
3) create 3 guides
4) change the color of two guides
5) save and reload
--> the guide which does not use a custom color renders blue (ignores green guide color set in document properties)
6) change guide color in document properties to red
--> all guides visible on-canvas are now rendered red (it should only affect 1 guide though)
7) save and reload
--> the guide which does not use a custom color renders again blue (instead of now red), the other guides each use their custom color.