Closed
Bug 308875
Opened 20 years ago
Closed 15 years ago
'space bar' message reading scrolling broken for formatted messages (with remote images)
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.3a2
People
(Reporter: chris, Assigned: jhorak)
References
Details
(Keywords: access)
Attachments
(4 files)
28.66 KB,
text/plain
|
Details | |
25.79 KB,
text/plain
|
Details | |
402 bytes,
patch
|
philor
:
review-
clarkbw
:
ui-review+
|
Details | Diff | Splinter Review |
293 bytes,
patch
|
standard8
:
review+
Usul
:
ui-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.7 (KHTML, like Gecko) Safari/412.5
Build Identifier: version 1.5 Beta 1 (20050908)
Normally (and forever previously) one was able to select a message and hit 'space bar' to page through it's
contents. Wth 1.5b1 and HTML (at least not seemingly unformatted msgs) hitting 'space' forwards a page,
and then immediately shows the 'message loading...' status at bottom and then reverts back to the
begginging of the message. Repeat endlessly.
Reproducible: Always
Expected Results:
Normally hitting 'space bar' (regardless of focus) results in the messge contents paging down, and to the
next msg if needed.
Reporter | ||
Updated•20 years ago
|
Version: unspecified → 1.5
Reporter | ||
Comment 1•20 years ago
|
||
probably not related (?): 253682
Reporter | ||
Comment 2•20 years ago
|
||
Thunderbird seems to be better behaved with respect to this problem in 1.5 beta 2 - I can scroll through
more e-mails with this space bar. Not completely fixed though.
Reporter | ||
Comment 3•20 years ago
|
||
text attachment is the source of an e-mail that has the space bar scrolling
problem. Maybe the problem is with multi-part mime messages?
Reporter | ||
Comment 4•20 years ago
|
||
version 1.5 (20051025) (rc1? 2?)
This problem still exists although it seems to be limited to this situation - the message contains some formatting, and the problem resolves itself when you click in the message pane or read another message and come back to this message. Only on the initial reading of the message is the space bar paging broken, with the "message loading..." showing as it snaps back to the top of the message.
Reporter | ||
Updated•20 years ago
|
Summary: 'space bar' message reading broken for HTML (?) messages → 'space bar' message reading broken for formatted messages
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•18 years ago
|
QA Contact: front-end
I have seen the same behavior in SeaMonkey (including the current version (1.1.7)). I initially thought it was somehow a theme problem, but it occurs with every theme I try.
My experience is that the problem is linked to HTML mail when retrieving images from the web; I don't see it with plain text email. I have SeaMonkey set to "Block images and other content from remote sources." If I open an HTML message with remote content, space bar paging works fine before I approve retrieval of the remote images. Once I've clicked the button to approve retrieval, hitting the space bar when looking at the start of a message does a single page down then immediately jumps back to the top of the message, over and over each time I hit the space bar; the page up and down keys, however, page through the message normally while remote content is being retrieve. The space bar behavior of jumping back to the top continues even after the image retrieval appears to be done. If I then close and re-open the same message , now with the images already retrieved, space bar paging works fine again. I've verified this behavior with different messages from different sources and the behavior was consistent.
Two additions to my comment of 2007-12-12:
1) Using SeaMonkey on MS Windows XP Pro, SP2.
2) I've since realized that I don't need to close and re-open the message to fix the scrolling problem, I only need to click to another window and then back to the message. Once the remote content download is complete, unfocusing and refocusing the message windows allows space bar paging to work.
Comment 7•17 years ago
|
||
Chris, do you still see this problem?
I used to see something like this, but not for a long time.
testcase attachment 199205 [details] WFM on Vista, but remote content is not displaying
version 2.0.0.13pre (20080227)
version 3.0a1 (2008050715)
Assignee: mscott → nobody
Reporter | ||
Comment 8•17 years ago
|
||
with 2.0.14pre I still see this problem. I would probably agree with Dave L in #5 that it seems to be related to external images in messages.
The easiest way to remedy the problem while reading a message is to just click (give focus to?) anywhere in the message reading pane - then you can space bar through the message again. Maybe this is a focus problem?
Reporter | ||
Comment 10•17 years ago
|
||
yes, still seeing it with the nightlies. Will have to check if the circumstances are still the same. Seems to happen less though.
Reporter | ||
Comment 11•17 years ago
|
||
Using the Shredder alpha 3 test builds, this problem seems to be fixed. Might be able to WFM...
Reporter | ||
Comment 12•17 years ago
|
||
spoke too soon - attached is email with problem.
Happens much less often, though.
Reporter | ||
Updated•17 years ago
|
Version: 1.5 → Trunk
Comment 14•17 years ago
|
||
do you have more examples?
this makes for rather bad and inconsistent user experience. Surprised I'm not finding other bugs reporting this, but maybe they are "hidden" under poor summaries or people are just living with the pain and not reporting it.
Comment 6 seems to be true for me.
Flags: wanted-thunderbird3?
Summary: 'space bar' message reading broken for formatted messages → 'space bar' message reading scrolling broken for formatted messages
Comment 15•17 years ago
|
||
I can easily reproduce this on linux, with a newsletter. Seems it must contain remote pictures, and you have to click allow pictures. wanted3+
Flags: wanted-thunderbird3? → wanted-thunderbird3+
OS: Mac OS X → All
Hardware: PowerPC → All
Updated•17 years ago
|
Summary: 'space bar' message reading scrolling broken for formatted messages → 'space bar' message reading scrolling broken for formatted messages (with remote images)
Target Milestone: --- → Thunderbird 3.0b3
Comment 16•17 years ago
|
||
this is highly highly annoying
Comment 17•17 years ago
|
||
In the long run, all clicking the button does is gDBView.reloadMessage(), like a billion other things do.
Is focus still on the button, so that the described steps are actually "click the button to reload the message with images, then use the space bar to activate the still-present and still-focused button to reload the message with images again and again and again"?
Comment 18•17 years ago
|
||
> Is focus still on the button, so that the described steps are actually "click
> the button to reload the message with images, then use the space bar to
> activate the still-present and still-focused button to reload the message with
> images again and again and again"?
You may very well be right - the button is not visible once the message is reloaded, but clicking in the message pane makes the problem go away. However, pressing the space bar does scroll the message down, so it's not that the button is completely eating the space.
Comment 19•16 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b5pre) Gecko/20090512 Shredder/3.0b3pre
*can repro with newsletter with remote images
*after hit load images, space does go down and up again, and again
*any click (l,r,m) in msg pane solves it
Assignee | ||
Comment 20•16 years ago
|
||
Simple fix which focus message browser (id: messagepane) after content is reloaded with images.
Attachment #385769 -
Flags: review?(philringnalda)
Comment 21•16 years ago
|
||
From looking at the patch, I think it would work. I can see that the file to be patched lives in ./chrome/messenger.jar in my Beta 2 build.
Is there a documented way for me to patch that much larger file?
Or, if this comment can be updated whenever there is a nightly that has the fix in it, I'll be delighted to test.
Thanks jhorak, this has been an annoyance for years!
Comment 22•16 years ago
|
||
Comment on attachment 385769 [details] [diff] [review]
Patch v1: spacebar scroll fix
Sorry for the delay: touching focus always ends in tears, so I tend to hope aliens will destroy the world before I get to it.
("messagepane").focus() definitely isn't where we want it: that focuses the chrome element, so when you hit tab you go back around to the top, quicksearch if it's on the toolbar, rather than going into the message itself. To focus the message itself, you want |window.content.focus()|, but let's have Bryan give a ui-r on whether we want that, or to do what we do for message header button clicks, call RestoreFocusAfterHdrButton() which focuses content in the standalone window, and wants to set focus back to where it was, but just focuses the threadpane because it doesn't know any better, in the 3pane.
Attachment #385769 -
Flags: ui-review?(clarkbw)
Attachment #385769 -
Flags: review?(philringnalda)
Attachment #385769 -
Flags: review-
Updated•16 years ago
|
Assignee: nobody → jhorak
Target Milestone: Thunderbird 3.0b3 → Thunderbird 3.0b4
Comment 24•16 years ago
|
||
Since someone just posted, I'll just note that in 3.0 Final, this has _not_ been fixed. :-(
Comment 25•15 years ago
|
||
Comment on attachment 385769 [details] [diff] [review]
Patch v1: spacebar scroll fix
Sorry, thought I'd give those aliens a little more time but alas we're all still here.
I believe
window.content.focus() is what we want. This seems like a more focused (keyboard) action than the header button code so I think it follows that we want the focus to go to the content for possible tabbing. ui-r+ with that.
Attachment #385769 -
Flags: ui-review?(clarkbw) → ui-review+
Reporter | ||
Comment 26•15 years ago
|
||
(In reply to comment #25)
> window.content.focus() is what we want. This seems like a more focused
> (keyboard) action than the header button code so I think it follows that we
> want the focus to go to the content for possible tabbing. ui-r+ with that.
Using this line instead of the one in the patch (and putting in the right place) this seems to work.
I say seems since this is getting hard to test - with 3.1rc2 I see it happen, but it's hard to get it to repeat with the same email, as if the second viewing in the same session fixes the problem. So if I see it in 3.1rc2 and then immediately quit and reopen in a patched trunk build, it doesn't happen.
Otherwise the patch doesn't seem to cause any problems.
Reporter | ||
Comment 27•15 years ago
|
||
Comment 28•15 years ago
|
||
(In reply to comment #26)
> I say seems since this is getting hard to test - with 3.1rc2 I see it happen,
> but it's hard to get it to repeat with the same email, as if the second viewing
> in the same session fixes the problem. So if I see it in 3.1rc2 and then
> immediately quit and reopen in a patched trunk build, it doesn't happen.
To be clear: I believe you mean 3.1rc1 *build 2*. 3.1rc2 hasn't been generated at all yet.
Reporter | ||
Comment 29•15 years ago
|
||
(In reply to comment #28)
> > I say seems since this is getting hard to test - with 3.1rc2 I see it happen,
>
> To be clear: I believe you mean 3.1rc1 *build 2*. 3.1rc2 hasn't been generated
> at all yet.
Yes - 3.1rc1 build2
Reporter | ||
Comment 30•15 years ago
|
||
I'm going to say that the patch fixes things for me. Didn't see it at all in my test build. See this now in 3.1, switch to my test build, don't see it. Seems like a simple enough fix that shouldn't regress anything...
Comment 31•15 years ago
|
||
I still see the problem in Thunderbird 3.1. Hasn't it been committed into trunk?
Assignee | ||
Comment 32•15 years ago
|
||
(In reply to comment #30)
> I'm going to say that the patch fixes things for me. Didn't see it at all in my
> test build. See this now in 3.1, switch to my test build, don't see it. Seems
> like a simple enough fix that shouldn't regress anything...
You need to ask for review from philringnalda first to commit into trunk.
Comment 33•15 years ago
|
||
(In reply to comment #32)
> (In reply to comment #30)
> > I'm going to say that the patch fixes things for me. Didn't see it at all in my
> > test build. See this now in 3.1, switch to my test build, don't see it. Seems
> > like a simple enough fix that shouldn't regress anything...
> You need to ask for review from philringnalda first to commit into trunk.
Maybe setting the flag would help getting the review :-)
Reporter | ||
Comment 34•15 years ago
|
||
Still seeing this bug. I know the diff is a bit out of date, but it's only 1 line of code... Any chance on getting this committed?
Comment 35•15 years ago
|
||
Comment on attachment 447671 [details] [diff] [review]
updated diff using code from comment #25
Carrying the ui-review, requesting review from philor
Attachment #447671 -
Flags: ui-review+
Attachment #447671 -
Flags: review?(philringnalda)
Comment 36•15 years ago
|
||
(In reply to comment #34)
> Still seeing this bug. I know the diff is a bit out of date, but it's only 1
> line of code... Any chance on getting this committed?
Needs to get r+ first , just asked for that. Any chances of getting a unit test for this ?
Flags: in-testsuite?
Comment 37•15 years ago
|
||
Comment on attachment 447671 [details] [diff] [review]
updated diff using code from comment #25
This still applies
Attachment #447671 -
Attachment is patch: true
Updated•15 years ago
|
Attachment #447671 -
Flags: review?(philringnalda) → review?(bugzilla)
Comment 38•15 years ago
|
||
Comment on attachment 447671 [details] [diff] [review]
updated diff using code from comment #25
Thanks for updating the patch Chris.
It looks good and seems to work fine. r=Standard8.
I've also landed this on trunk for you, so it'll be in tomorrow's 3.3 nightly builds:
http://hg.mozilla.org/comm-central/rev/3076c32865d7
Attachment #447671 -
Flags: review?(bugzilla) → review+
Comment 39•15 years ago
|
||
(and thanks to jhorak for the original patch)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: Thunderbird 3.0b4 → Thunderbird 3.3a2
Updated•10 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•