[trunk] invisible text has wrong colour

• Jun 6, 2011 - 09:08
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Setup: rev. 4340; Ubuntu 11.04, Qt SDK 1.1 (Qt lib 4.7.3) / Windows XP, Qt SDK 10.04

Steps:

1) Open or create a score whatsoever
2) Set a text to invisible

Result: the text is normally shown in full colour; while editing is shown in gray. Possibly the text is also printed in gray (inferrred from the code, but I could not test last point directly)

Expected result: the text is normally shown in gray; while editing in blue and while printing is skipped.

The attached patch modifies function Text::draw() in file text.cpp to better cope with the different cases (printing, editing, normal).

Attachment Size
trunk_invisible text_cpp.patch 1.76 KB

Comments

fixed in r4344. I changed the color for edit mode into the normal text color (which was the original change which broke the invisible color)