Closed
Bug 163404
Opened 23 years ago
Closed 23 years ago
when the height of a tree shrinks, we should ensure that the selected row is still visible
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sspitzer, Assigned: sspitzer)
References
(Depends on 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
1.09 KB,
patch
|
janv
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
when I show the message pane (after it has been collapsed), ensure that the
selected message is still visible in the thread pane.
thanks to martinl for this bug.
| Assignee | ||
Comment 1•23 years ago
|
||
actually, this is a bigger issue.
when the size of the thread pane shrinks, we should ensure that the selected
message is still visible.
Status: NEW → ASSIGNED
Summary: when I show the message pane, ensure that the selected message is still visible in the thread pane. → when the size of the thread pane shrinks, we should ensure that the selected message is still visible
| Assignee | ||
Comment 2•23 years ago
|
||
Note, Outlook Express and NS 4.x does this.
this actually feels like something the tree should do.
jan, is there a way for us to know when the tree is being resized, so we can
call ensureRowIsVisible()?
| Assignee | ||
Comment 3•23 years ago
|
||
| Assignee | ||
Comment 4•23 years ago
|
||
generalizing the bug, adding bryner, so he can comment.
Summary: when the size of the thread pane shrinks, we should ensure that the selected message is still visible → when the height of a tree shrinks, we should ensure that the selected row is still visible
| Assignee | ||
Comment 5•23 years ago
|
||
something I've noticed with this patch is that it makes the thread pane "flash".
It's the same "flashing" you see when currently make the thread pane bigger,
but now I see it when making it smaller.
| Assignee | ||
Comment 6•23 years ago
|
||
for the flashing problem, see http://bugzilla.mozilla.org/show_bug.cgi?id=163406
Depends on: 163406
Comment 7•23 years ago
|
||
One thing I noticed with this patch...
Should we really scroll selected index into view if it was note visible before
resizing ?
It looks a bit confusing.
Comment 8•23 years ago
|
||
It does seem like if the user had specifically scrolled the selected message out
of view, we shouldn't force it back into view
The original behavior that I noticed was two-fold: 1) after sorting, I have to
scroll looking for my selected message; 2) shrinking the message list window
covered up the messages at the bottom of the list, including any that were
selected. However, #2 is probably only annoying to people who sort their
messages with the most recent at the bottom of the list (as I do).
When the list shrinks, the messages are going to either disappear from the top
of the list or the bottom. Perhaps the choice should be based on which way the
list is sorted.
How about this:
1) if re-sorting the list, the selected message should end up in view (this I
think should be done, regardless)
2) if shrinking the message list window, the most recent message header that is
in view should still be in view after resizing?
I have to admit that #2 is starting to sound like some confusing logic. Looking
at 4.x, I see their mail window pane works the same way as mozilla (messages at
bottom of list are covered when shrinking the pane).
Since I was the original complainer, I'd be happy to withdraw my complaint about
#2 if the solution is worse than the problem. :-) But I would like to see the
selected message(s) be in view after re-sorting.
Comment 9•23 years ago
|
||
It seems that selected message is scrolled into view after resorting.
| Assignee | ||
Comment 10•23 years ago
|
||
> Should we really scroll selected index into view if it was note visible
before resizing.
I think that's ok.
If I select a message, but manually scroll so it is off screen, resizing will
bring it back. I'm fine with that.
outlook express does the same thing.
the common case is I want the selected message to stay in view (like when I
resize the whole window or move the splitter.)
| Assignee | ||
Comment 11•23 years ago
|
||
Attachment #95827 -
Attachment is obsolete: true
Comment 12•23 years ago
|
||
Comment on attachment 96245 [details] [diff] [review]
same patch, plus change for part of the "flashing" problem.
r=varga
Attachment #96245 -
Flags: review+
Comment 13•23 years ago
|
||
Comment on attachment 96245 [details] [diff] [review]
same patch, plus change for part of the "flashing" problem.
sr=bryner
Attachment #96245 -
Flags: superreview+
| Assignee | ||
Comment 14•23 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
OK using nov1 commercial trunk win98,linux rh6.2
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•