Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Scrolling in Webmail causes text to streak vertically and freeze

  • 4 个回答
  • 9 人有此问题
  • 4 次查看
  • 最后回复者为 wdmartin

more options

I work in webmail (Roundcube) and when I scroll up or down, the text on the page, both in and outside of the compose box, streaks vertically in vertical black lines, freezes, and takes several seconds to correct. When I paste copied text from using Control V, I get big black borders in the text edit box that hang for a few seconds and then the text reappears, but often scrambled. This does not happen in other browsers. I have the latest version of Firefox and Flash and Java. This just started a week ago. I am not working in html text, just regular unformatted text, writing and replying to emails in Webmail. This is on a Hostgator webmail account.

I work in webmail (Roundcube) and when I scroll up or down, the text on the page, both in and outside of the compose box, streaks vertically in vertical black lines, freezes, and takes several seconds to correct. When I paste copied text from using Control V, I get big black borders in the text edit box that hang for a few seconds and then the text reappears, but often scrambled. This does not happen in other browsers. I have the latest version of Firefox and Flash and Java. This just started a week ago. I am not working in html text, just regular unformatted text, writing and replying to emails in Webmail. This is on a Hostgator webmail account.

所有回复 (4)

more options

Try to disable hardware acceleration in Firefox (you need to close and restart Firefox).

  • Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
more options

Thank you. I had already tried that without any effect. I just now tried it again, and restarted FF but the problem is the same.

more options
more options

I have this problem too, and I just spent some time analyzing it in greater detail.

When you reply to an email in Roundcube, it takes about 5 seconds to load the initial text into the TEXTAREA element. Once it's loaded, causing the TEXTAREA to scroll makes it smear the text into thin vertical lines, like this:

Screenshot 1, streaking phase

After a moment, the vertical lines go away, leaving a blank white textarea with no scroll bar, and a line of displaced text floating outside the textarea at the top:

Screenshot 2, blank phase

This behavior can be triggered with the mousewheel, by dragging the scrollbar, or by using the arrow keys to scroll up or down in the message. The arrow keys skip the vertical lines phase and go straight to the blank phase.

Regardless of how it was triggered, every time it happens it takes about 5 seconds to resolve itself.

I conducted all of my tests in Firefox 27.0.1 on Windows 7 64-bit. I used a clean, blank profile with no extensions or plugins of any kind (I explicitly disabled the default plugins, such as Flash etc). I checked the developer console for error messages, but did not find anything obviously relevant.

One weird thing I noticed was that the problem behavior will stop if you open the developer console with CTRL+SHIFT+K. The textarea will scroll normally until you leave the page and start a fresh email, at which point the problem recurs. Also, if the developer console has been popped out to a window of its own, the problem persists -- opening the console only fixes the problem when it's docked to the window.

This is super weird, and annoying. At a guess, Roundcube's JavaScript may be triggering some weird bug having to do with the painting of window contents. But I couldn't speculate any more thoroughly than that.

EDIT: I should add that disabling hardware acceleration had no effect. Disabling smooth scrolling prevented it form making smeared vertical lines, but it still sat there showing a blank textarea for five seconds every time I scrolled.

由wdmartin于修改