Closed Bug 314110 Opened 21 years ago Closed 20 years ago

[BeOS] Corner-resize cursors are wrong

Categories

(Core Graveyard :: Widget: BeOS, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sergei_d, Unassigned)

References

()

Details

(Keywords: fixed1.8.1)

Attachments

(1 file, 1 obsolete file)

Log to any of your IM account using http://www3.meebo.com/ try to resize IM "windows" by corners. Orientation is clearly wrong. Code for that in NS_METHOD nsWindow::SetCursor(nsCursor aCursor) is very old, so probably nobody never tested it. Good if someone can find some other testcases, though. Patch is simple, but I wonder if I also roll-back mouse code here, which was mistakenly commited with IME patch.
Summary: [BeOS] Corner-reisize cursors are wrong → [BeOS] Corner-resize cursors are wrong
I'd be happy to see a rollback for mouse too.
Current code is ugly and very hard to follow it, anyway, better testcase is: http://www.worldtimzone.com/mozilla/testcase/css3cursors.html
Attached patch fixes corner-resize cursors (obsolete) — — Splinter Review
finally, a bug so simple even I can propose a fix. the attached patch addresses the problem reported here; that is, right- and left-handed window resize cursors were reversed. The testcases provided here show additional cursor behavior that doesn't seem to be implemented. We may want to add them but this patch seems to address the immediate bug addressed here.
Tigerdog, can you test if this patch applies against current tree and submit new one if it doesn't? I have no time to work on it now, so i will review your version and land it in trunk
same changes. patch updated to apply cleanly with current CVS nsWindow.
Attachment #205529 - Flags: review?(sergei_d)
Attachment #201551 - Attachment is obsolete: true
Comment on attachment 205529 [details] [diff] [review] updated for current CVS r=sergei_d
Attachment #205529 - Flags: review?(sergei_d) → review+
fixed on trunk: Checking in mozilla/widget/src/beos/nsWindow.cpp; /cvsroot/mozilla/widget/src/beos/nsWindow.cpp,v <-- nsWindow.cpp new revision: 1.114; previous revision: 1.113 done closing bug
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 205529 [details] [diff] [review] updated for current CVS Requesting permission for landing on the MOZILLA_1_8_BRANCH. This is a BeOS-only change and does not affect other platforms.
Attachment #205529 - Flags: approval1.8.1?
Comment on attachment 205529 [details] [diff] [review] updated for current CVS a=drivers
Attachment #205529 - Flags: approval1.8.1? → approval1.8.1+
Checking in mozilla/widget/src/beos/nsWindow.cpp; /cvsroot/mozilla/widget/src/beos/nsWindow.cpp,v <-- nsWindow.cpp new revision: 1.91.4.19; previous revision: 1.91.4.18 done
Keywords: fixed1.8.1
Blocks: 311032
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: