Closed Bug 74242 Opened 24 years ago Closed 24 years ago

Live window resizing on Mac OS X [FizzillaCFM]

Categories

(Core :: XUL, defect, P4)

PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: hsivonen, Assigned: mikepinkerton)

References

(Blocks 1 open bug)

Details

(Whiteboard: OSX, needs a=)

Attachments

(1 file)

Build: Fizzilla CFM 2001-03-28 Reproducible: Always Steps to reproduce: 1) Open a browser window. 2) Drag the window size box. Expected results: Expected window to be dynamically resized with the layout updating as in OmniWeb on Mac OS X or Mozilla on Windows 2000. Actual results: Only a gray border is dragged as in Classic.
Blocks: 73812
->pink/p4, probably future unless trivial
Assignee: trudelle → pinkerton
Priority: -- → P4
yeah, it's trivial from what i remember reading.
Target Milestone: --- → mozilla0.9.1
moving my osx bugs to 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Whiteboard: OSX
patch attached, took me 2 hours. carbon events are neat-o
Status: NEW → ASSIGNED
Keywords: patch
Whiteboard: OSX → OSX, needs r/sr/a
smfr, can i get an sr?
... NewEventHandlerUPP(WindowEventHandler) ... Don't you need to dispose the UPP somewhere? The WindowEventHandler should probably check the return value of GetEventParameter(), and for a non-null WindowRef. Might want to check the return value of InstallWindowEventHandler too.
- no, according to the docs the UPP is freed for you when the target goes away if you pass NULL as the final param to the install - will make that null-check - why bother? if it fails to install, the event handler is never called, and it's hardly a failure if it doesn't install. it's not mission-critical.
Why check the return value of InstallWindowEventHandler()? Because if you don't, we have no way of knowing if it works. Assert on failure, or something. But I guess it doesn't matter that much.
sr=sfraser with the null check
r=saari. i added an assert to make smfr happy ;)
Whiteboard: OSX, needs r/sr/a → OSX, needs sr/a
Whiteboard: OSX, needs sr/a → OSX, needs a=
a= asa@mozilla.org (on behalf of drivers).
checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Marking verified in the June 5th Fizzilla build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: