Closed Bug 121187 Opened 23 years ago Closed 23 years ago

drag of message summary line (even without drop) garbles bounding box

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

PowerPC
All
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: pekka.nikander, Assigned: janv)

References

Details

(Keywords: regression)

Attachments

(1 file)

In Mail & News window, if I start dragging a message summary line,
e.g. in order to move it to a folder, all the subsequent display
updates get garbled.  It looks like fizzilla's idea of the window bounding
box gets somehow garbled, and it updates only part of the window.  
It doesn't seem to matter whether I finish the drag&drop and actually
move the message or just let it drop back to the mail summary window.
My personal feeling is that in order to gain speed, fizzilla makes it's
drawing window temporarily smaller and then forgets to reset it, or
resets it wrong.  What is really strange is that whenever this happens,
also all other windows show the same buggy behaviour, not only the 
mail&news window.

This seems to be a new bug introduced relatively recently.  
I have been using build 2001122809 for some time, and this bug doesn't
appear in it.  On the other hand, it does appear in 20020116 and 20020118.

For me personally this is a road blocker since I am so used to drag&drop
in handling my mail.  Right now I have no other choice but stick using
the old 20011228 build.
QA Contact: esther → sheelar
Confirming this behavior on mac os x from 2002-01-18-06 build.
I was able to reproduce this behavior described here

I selected a message from an imap account(202kb with a jpg attachment displayed)
Click and drag the message( while dragging I was able to see the thread pane scroll)
Don't let go without moving the message to any folder.
And the release you will see the results described below.  
This results in unable to view any message at all in that session.  You have to
restart in order to use the application. 

Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: nsbeta1, regression
reassigning to navin
Assignee: sspitzer → naving
> What is really strange is that whenever this happens,
>also all other windows show the same buggy behaviour, not only the 
> mail&news window.

I doubt this has anything to do with mailnews d&d code.
over to xpApps
Component: Mail Window Front End → XP Apps: Drag and Drop
Product: MailNews → Browser
reassigning to the owner
Assignee: naving → blaker
QA Contact: sheelar → tpreston
Same under MacOS 8.6 OS -> All.
I just verified that this bug is still present in Mac OS X trunk 2002012503.
Furthermore, I am inclined to believe that the bug is still
somehow related to the Mail&News window.  The resulting buggy
bounding box seems to be of the same size than the folder
pane, though not as tall.  Thus, it seems like there is some
code that is activated when you start to drag a message line,
and that code tries to somehow optimize the folder pane display,
but does that wrong and/or fails to reset the bounding box.

Maybe is is so simple that the code attempts to **** a bounding
box to the folder pane, but sets it to the "main" window instead?
This bug is still present in 20020128 Mac OS X trunk build.
However, it does not seem to be present in 2002012815 Windows build.
Or at least I couldn't trigger it under W2K.
*** Bug 121855 has been marked as a duplicate of this bug. ***
This also messes up the browser. If you do a drag and drop of a bookmark in the
manage bookmarks window while it is on top of the browser window the browser
window gets messed up and only part of the viewport works (the part that was
under the drag and drop I think).  Tested mozilla0.9.8 branch build 01/31
OK, maybe I'm seeing something different but it's very similar. Any drag and
drop in bookmarks or mailnews threadpane totally hoses the browser viewport or
the mailnews threadpane. After the drag and drop the scrollbars in browser or
threadpane stop working and scrolling with the thumbs produces a seriously
corrupted view.  This affects the trunk as well and requires a browser restart
to make it usable.

Steps to reproduce: 
1. open browser
2. open bookmarks
3. drag and drop a bookmark
4. close bookmarks
5. scroll browser window.
Alternate steps to reproduce:
1. open mail
2. drag a message to a folder
3. scroll threadpane.

Results, painting is totally hosed. Must restart to work around problem.
sounds like a bug i already passed over to smfr for a looksee related to his
port changes. It may also be related to jan varga's outliner drag/drop changes.
Assignee: blaker → sfraser
Asa, that's the same that I see (as I reported in bug 121855).  But in my
experience restart is not required to fix.  A maximize-unmaximize cycle fixes
the painting until the next scroll retriggers the glitches.

For me, dragging bookmarks just messed up the "manage bookmarks" pane, not the
main browser pane, but I did quit pretty soon after that so maybe I just missed
the glitches.
This affects the OS X and classic builds, branch and trunk 01/31
OS: MacOS X → All
sounds like 121968
*** Bug 121968 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
We have some really pathological call chains during dragging; this stack is an
example. When dragging with double buffering on, I get assertions about
recursive painting from the view manager, which indicates problems.
See my comments in the bug 121336 and bug 120299.
So at least part of this is the open 0.9.9 XP bug 121336. Things are worse on 
Mac, but it's bad everywhere.
ok, this recursion didn't happen before. I think jan's refactoring of the drop
feedback code introduced it.
Assignee: sfraser → varga
Status: ASSIGNED → NEW
Wait up. Mac is way more hosed than the other platforms, and behaves differently 
whether double buffering is on or off. So there is a Mac gfx bug lurking that I 
need to fix.
Assignee: varga → sfraser
taking
Assignee: sfraser → varga
0.9.8 need hopefully covered by bug 120299
fixed along with 120299 (I hope)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Confirmed.
Verified fixed mac os X build 2002022808
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: