0000-Add-Opacity-slider.md 3.3 KB

Add an opacity slider to the Tool Settings

To be Reviewed By

  • borgmanJeremy
  • mmahmoudian
  • Flameshot developers


Authors

  • Pr. Sunflower


Status: Draft | Discussion | Active | Dropped | Superseded

[Pr. Sunflower] This is the first time the authors are redacting a document of this sort and they kindly request to double-check their writings and to assist them in missing parts.


Superseded by

N/A


Related


Problem

Currently the drawing and marking tools in Flameshot only have one, non-customisable opacity setting. This current setting is bad for highlighting text because the Marker tool looks very pale. To compensate the user often has to highlight multiple times which is not convenient and time-consuming.

Here is a comparison of Flameshot's Marker tool with Microsoft's Snip & Sketch Highlighter tool:

Black text on light background

Flameshot: Flameshot_WHITE

Snip & Sketch: Snip_and_Sketch_WHITE


White text on dark background

Flameshot: Flameshot_BLACK

Snip & Sketch: Snip_and_Sketch_BLACK



Anti-Goals

Flameshot's Marker tool does a very good job at keeping the text readable so this is not linked to this request.

image

image



Solution

Add a way to control opacity, like an opacity slider in the Tool Settings.

Add an opacity slider under "Active thickness".

Screenshot from 2021-04-25 17-22-06



Performance Impact

[Pr. Sunflower:] I need help for this part.

Do you anticipate the proposed changes to impact performance in any way? Are there plans to measure and/or mitigate the impact?


Backwards Compatibility and Upgrade Path

[Pr. Sunflower:] I need help for this part.

Will the regular rolling upgrade process work with these changes?

How do the proposed changes impact backwards-compatibility? Are message or file formats changing?

Is there a need for a deprecation process to provide an upgrade path to users who will need to adjust their applications?


Prior Art

[Pr. Sunflower:] I don't think this part is useful.

What would be the alternatives to the proposed solution? What would happen if we don’t solve the problem? Why should this proposal be preferred?


FAQ

[Pr. Sunflower:] I need help for this part.

Answers to questions you’ve commonly been asked after requesting comments for this proposal.


Errata

[Pr. Sunflower:] I need help for this part.

What are minor adjustments that had to be made to the proposal since it was approved?