Open Photon89 opened 4 years ago
I can confirm. Using Shutter 0.93.1 Rev. 1278 on ubuntu 16.10
Launchpad Details: #LPC Robert van Kints - 2017-03-10 09:44:54 +0000
I confirm this is still an issue in Linux Mint 20.2 Cinnamon, Shutter 0.99.2 Rev.1593
The rest of the tools work fine: when using any of them the color is the last color selected (for any tool). For instance, when drawing arrows I change the color to blue, then all subsequent arrows are blue. If I change the tool to drawing rectangles, still the (border) color is blue.
The highlighter, instead, always defaults to yellow. Changing the color while using the highlighter changes the last highlighted text, but any subsequent highlights are again yellow.
Looks like it happens here: https://github.com/shutter-project/shutter/blob/master/share/shutter/resources/modules/Shutter/Draw/DrawingTool.pm#L1035 The problem is that the stroke color and thickness is shared across the various tools, so if they are not reset for the marker (and also censor) tool, they will be used by the other tools as well and we will get semitransparent thick arrows and lines. Looks like the best way to fix this would be to introduce additional variables for the marker and censor tool line width and color, but this might require GUI changes (not sure if setting different variables using the same line color and thickness buttons will work).
If I use the highlighter tool on an image, select a different stroke color, and try highlighting using the new stroke color, it automatically reverts back to the default color, which is incorrect and inconsistent with the other drawing tools.
To replicate:
I am running Shutter 0.93.1 Rev. 1278 on ubuntu 16.04
Launchpad Details: #LP1606992 wheelerlaw - 2016-07-27 16:39:39 +0000