[previews] Previews text is blank or black, when some characters are present

Bug #1039437 reported by David Callé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Expired
Undecided
Unassigned

Bug Description

While testing the markup limitations of the Description field of previews, I've noticed that some characters made the field blank or completely black. I've not yet identified these characters.

Screenshots attached.

Revision history for this message
David Callé (davidc3) wrote :
Revision history for this message
David Callé (davidc3) wrote :
description: updated
Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

If you are able to attach the file which causes the black background, that would be great.

Revision history for this message
David Callé (davidc3) wrote :

I'm guessing that the black background is in fact really related to the amount of text (but probably the amount of lines, not characters). Some texts cause a black background when the Dash is windowed, but works fine when it's fullscreen. Others cause it in both cases.

I'm attaching two texts, one not working only in windowed Dash and one failing on both.

Revision history for this message
David Callé (davidc3) wrote :
Revision history for this message
David Callé (davidc3) wrote :
description: updated
Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

I'm presuming the attached files is the description, not the content of the preview files?

I think this may be related to LP#1039020
The fix for this is in https://code.launchpad.net/~nick-dedekind/unity/lp1039020.preview-text-escape.

Revision history for this message
David Callé (davidc3) wrote :

Sorry, that wasn't clear. Yes, it's the description field.

Revision history for this message
David Callé (davidc3) wrote :

I've just tested the fix for LP#1039020 and it doesn't seem to fix this bug.
I'm still trying to identify the exact cause.

Revision history for this message
David Callé (davidc3) wrote :

Hi Nick , I've hacked a lens dedicated to this debug and I have some data:
- A blank description can be triggered by the presence of unrecognized tags in the text such as <a>,<ul>,<li>, etc.
- A black description can be triggered when the text is longer than 454 lines (and by that, I don't mean the number of \n or \r characters, but the visible number of preview text lines).

Revision history for this message
Stephen M. Webb (bregma) wrote :

Much of this software has been rewritten over the last couple of cycles, and the descriptions sounds like a know fixed bug.

Is this problem still reproduceable with the current Unity 7 software?

Changed in unity:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.