Opened 14 years ago

Closed 14 years ago

Last modified 14 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 by axeld, 14 years ago

Resolution: fixed

comment:2 by axeld, 14 years ago

Status: newclosed

comment:3 by axeld, 14 years ago

Fixed in hrev16678.

comment:4 by johndrinkwater, 14 years ago

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 by johndrinkwater, 14 years ago

Status: closedreopened

comment:6 by johndrinkwater, 14 years ago

Resolution: fixed

comment:7 by axeld, 14 years ago

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 by johndrinkwater, 14 years ago

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 by axeld, 14 years ago

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 by axeld, 14 years ago

Resolution: fixed

comment:11 by axeld, 14 years ago

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