Closed Bug 171228 Opened 22 years ago Closed 22 years ago

[DHTML] Dragging is broken

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: kmcclusk, Assigned: tetsuroy)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

The checkin for bug 104934 broke dragging of elements on www.dhtmlcentral.com.

1. load http://dhtmlcentral.com/
2. Click on hold down on one of the "windows" on dhtmlcentral and drag it to a
new position.
3. It will only draw the window after you stop moving the mouse.
4. prior to this checkin the window would smoothly display as the mouse is
dragged around.

If I back out the change for bug 104934 in my local tree the problem goes away:

cvs update -j3.7 -j3.6 mozilla/widget/src/windows/Makefile.in
cvs update -j1.41 -j1.40 mozilla/widget/src/build/Makefile.in
Component: Browser-General → Event Handling
Keywords: regression
i'll take a look
Blocks: 163528
Depends on: 104934
Resolving as fixed since I backed out changes for bug 104934
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
reopening. 
I am going to put back 104934.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: --- → mozilla1.2beta
Roy: Can you look at why drag is broken by the patch for bug 104934 before
putting it back in?
kevin: No worries. That's my original plan.  I will post a patch to
       fix _this_ particular problem and get r=/sr= before putting
       the switch back in.
Hmmm calls to SetWindowLongW() causes this dragging problem.
Investigating....
shanjian: can you review?
Comment on attachment 102497 [details] [diff] [review]
Need nsToolkit::mGetWindowLong

Looks fine. r=shanjian
Attachment #102497 - Flags: review+
Comment on attachment 102497 [details] [diff] [review]
Need nsToolkit::mGetWindowLong

sr=kin@netscape.com, though I wish we did what I proposed in bug 141630 comment
6, earlier on:

  http://bugzilla.mozilla.org/show_bug.cgi?id=141630#c6

I really dislike the fact that we are adding more and more of these ifdefs
where the only differences are the nsToolkit:: prefix.
Attachment #102497 - Flags: superreview+
Comment on attachment 102497 [details] [diff] [review]
Need nsToolkit::mGetWindowLong

a=asa for checkin to 1.2beta (on behalf of drivers)
Attachment #102497 - Flags: approval+
fix checked into the trunk
Please verify once we turn the MOZ_UNICODE flag on by default
or provide a special unicode build (whichever comes first)
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
verified on latest trunk build 2002122608
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: