Opened 13 months ago

Last modified 13 months ago

#9571 new bug

hey doesn't set upper-left corner of WebPositive

Reported by: Kev Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

There's probably a good reason for disallowing offscreen windows, but it'd be nice to have it bent slightly. I'd like to be able to set a window just far enough offscreen so that, by Fitts' law, I can throw the cursor up to the upperleft corner and click, to rapidly close a window. Just six pixels in each axis ought to do it, but:

/> hey WebPositive SET Frame OF Window 2 TO BRect[-6,-6,1284,1028]

No matter what I do for those -6's, the window's upper-left corner doesn't move. Actually, now that I try other values, like 100, it doesn't seem to move ever, whether it's on-screen or not. And now that I try other windows, I see it's just WebPositive that won't move (it'll only resize.) Somewhere in between these makes the perfect window for me (on my 1280x1024 display), usability-wise, even if it looks less aesthetically pleasing:

hey Terminal SET Frame OF Window 0 TO BRect[0,21,1279,1023]

hey Terminal SET Frame OF Window 0 TO BRect[0,9,1279,1023]

This is on hrev45404 gcc4.

Change History (3)

comment:1 Changed 13 months ago by humdinger

FWIW, hey WebPositive SET Frame OF Window 2 TO BRect[-6,-6,1284,1028] works here on an official gcc2hybrid hrev45257.

comment:2 follow-up: Changed 13 months ago by Kev

Huh, you're right, hrev45362 gcc2hybrid also has this working. Should I bother reporting things not working right under gcc4 at this point? I was under the impression that gcc4 is eventually what Haiku R1 would be released under.

comment:3 in reply to: ↑ 2 Changed 13 months ago by anevilyak

Replying to Kev:

Huh, you're right, hrev45362 gcc2hybrid also has this working. Should I bother reporting things not working right under gcc4 at this point? I was under the impression that gcc4 is eventually what Haiku R1 would be released under.

Nope, the switch to 4 will only happen post R1. The latter will be officially released as a gcc2 base w/ gcc4 hybrid libs just like every alpha release so far, since that configuration maximizes R5 binary compatibility. That having been said, it would be interesting to look into why this doesn't work on 4 regardless, since there shouldn't be a difference.

Note: See TracTickets for help on using tickets.