Opened 7 years ago

Closed 5 years ago

#1483876 closed Feature Patches (fixed)

Improved Firefox whitespace workaround

Reported by: LlamaGuy Owned by:
Priority: 5 Milestone: later
Component: Client Scripts Version: 0.1-beta
Severity: normal Keywords:
Cc:

Description

The current workaround uses an image to strech the content, which works fine, but it shows an ugly image loading placeholder when you first open your mail. If you do this with an nbsp it accomplishes the same task without the extra image.

I'm not good with patch files, so I'll just do this by hand:
trunk/roundcubemail/program/steps/mail/func.inc -- line 440:

  • $cont .= sprintf('<img src="%s%s" height="11" width="1000">', $skin_path, "/images/cleardot.png");

+ $cont .= str_repeat('&nbsp;', 1000);

I've tested this out on my installation, and it seems to working.

Change History (2)

comment:1 Changed 7 years ago by richs

The problem with nbsp; is that it's not easily scaleable. Also, because it's text, a "..." appears at the end of every bar if your window is smallish. This can be disabled in the CSS, but then Subjects that are actually long will end abruptly.

I'm not really sure that a 1x1 pixel image would load any slower or look any uglier than the other RoundCube images? This is meant to be a temporary workaround until the bug is fixed in FF.

comment:2 Changed 5 years ago by seansan

  • Milestone set to later
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.