Issue 24425 - Marquee does not store font and bold attributes in web page
Summary: Marquee does not store font and bold attributes in web page
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 00:29 UTC by kelvine
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kelvine 2004-01-15 00:29:47 UTC
Hi,

One of my users just reported this problem. It was not a problem in OO1.0.x 
versions so it has just crept in in OOo1.1.0.

The font and bold attribute for a scrolling text is not kept and the users 
keeps seeing Times New Roman style font.

To reproduce:
Open New Html document using Html Editor
Insert scrolling text and format to arial and bold
Select View -> Html Source
Save the file

In the source you will see a line which looks like the following

<P><FONT COLOR="#000000"><MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=-1 
SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=202 HEIGHT=22>Marquee 
faulty</MARQUEE></FONT></P>

Notice there is no font name or bold tags.

If you manually put the tags in then go into normal mode and then switch back 
to source mode the font name and bold tags are lost.

Example:

Insert the following line into the source code

<P><FONT FACE="Arial, sans-serif"><B><FONT COLOR="#000000"><MARQUEE 
BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=-1 SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=205 
HEIGHT=21>Online Connections</MARQUEE></FONT></B></FONT></P>

Switch to normal mode and then switch back to source mode.

The code has been damaged and becomes the following

<P><FONT COLOR="#000000"><FONT COLOR="#000000"><MARQUEE BEHAVIOR=SCROLL 
DIRECTION=LEFT LOOP=-1 SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=205 HEIGHT=21 
ALIGN=BOTTOM>Online Connections</MARQUEE></FONT></FONT></P>

So not only is the font name and bold tags not kept anymore, any existing html 
files are now becoming corrupted.

As I stated this problem has only occurred since OOo1.1.0. It did not occur to 
my knowledge in OOo1.0.x

Hope this helps.

Kelvin
Comment 1 h.ilter 2004-01-15 16:06:25 UTC
Reassigned to ES
Comment 2 eric.savary 2004-01-15 17:04:18 UTC
ES->MIB: Iset this issue as child of Waleed's task #112795#.
Or would you rather keep this issue and close the other one?
Comment 3 eric.savary 2004-01-15 17:05:47 UTC
Reassigned to MIB
Comment 4 eric.savary 2004-01-15 17:07:03 UTC
.
Comment 5 kelvine 2004-01-19 09:38:14 UTC
Hi,

Whilst this issue is not terribly important, making it a Target of OOo 2.0 
does not look good.

It is broken because of changes to the code and now the user will have to wait 
probably for a year for it to be working again, revert back to an earlier 
version of OOo, make changes to the code every time or redesign their website. 
Hmmmm.

Pity. IMHO breaking things that were previously working and then leaving them 
for a long period of time may not look good for the project.

I have advised the client concerned of the situation.

Thanks for the prompt feedback.

Kelvin
Comment 6 michael.brauer 2004-01-19 10:18:02 UTC
Part of the priorization of this issue is the fact that it only occurs for
marquee that starts at the beginning of a paragraph. If there are characters
befor teh marquee, the font information is exported.
Comment 7 kelvine 2004-01-19 11:15:30 UTC
Hi,

Thanks for the additional information. 

That piece of additional information provides a work around for the moment. It 
still means the client has some minor work to do to each web page, but I 
believe that they can live with that.

Thanks again for the tip.

Kelvin
Comment 8 michael.brauer 2004-12-03 13:59:59 UTC
target changed