Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#275 closed bug (fixed)

[Scummvm] cursor drawn after SDL_ShowCursor( false ) is called

Reported by: johndrinkwater Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The mouse cursor is still drawn over this SDL window when it shouldnt be.

Change History (11)

comment:1 Changed 13 years ago by axeld

Resolution: fixed

comment:2 Changed 13 years ago by axeld

Status: newclosed

comment:3 Changed 13 years ago by axeld

Fixed in hrev16678.

comment:4 Changed 13 years ago by johndrinkwater

I have to reopen this bug, the Be cursor shouldn't be drawn over the window if the windows is focused or not, this is the hrev5 behaviour.

As a side note, there's an additional related bug, Each time the app is run, the cursor is hidden (whether or not in the SDL window) until the user changes mouse state (clicks, enters the SDL window, etc). Further focusing/defocusing of the SDL window are ok.

comment:5 Changed 13 years ago by johndrinkwater

Status: closedreopened

comment:6 Changed 13 years ago by johndrinkwater

Resolution: fixed

comment:7 Changed 13 years ago by axeld

While the new problems doesn't have anything to do with the old one, I'm leaving this open for now (until I fixed the additional bug you mentioned).

The mouse cursor of inactive windows is not adopted under Haiku - that's by intention, and not a bug. But I could change it back easily as well. Any compelling arguments for the Be way? :-)

comment:8 Changed 13 years ago by johndrinkwater

if you're going to display the Be cursor over the window (lets say, there's a sheet of glass stopping your interaction with it), you'd want to stop giving that window mouse moved events, so that it is truly inactive. Otherwise its confusing, and ugly!

As ever, its you to up, and the Haiku team though, heh ;)

comment:9 Changed 13 years ago by axeld

Sure, you didn't convince me. I didn't even understand a word of what you just said. But anyway, we're now imitating BeOS behaviour there as well :)

Finally (and hopefully) fixed all pending issues in hrev16685.

comment:10 Changed 13 years ago by axeld

Resolution: fixed

comment:11 Changed 13 years ago by axeld

Status: reopenedclosed
Note: See TracTickets for help on using tickets.