Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GMPlayer, videosurface+mousepointer hiding (minor nuisance)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Da Fox
Guru
Guru


Joined: 06 Jul 2005
Posts: 340

PostPosted: Thu Aug 10, 2006 3:49 pm    Post subject: GMPlayer, videosurface+mousepointer hiding (minor nuisance) Reply with quote

I noticed that both mplayer and gmplayer hide the mousepointer after a second or so when you hover it over the video. There are a few slight differences between mplayer and gmplayer however, and more importantly something that looks like a bit of a bug in gmplayer to me. I will try to describe the 'problem' as accurately as possible:

MPlayer behaviour:
When you start mplayer, and the mouse pointer starts out outside the video window, the mouse is hidden when you move your mouse over the video and when you set the video to fullscreen, even if the mouse was never on the video surface prior to going fullscreen.
When you start mplayer, and the mouse pointer starts out inside the video window, the mouse is hidden after a few seconds, and also hides when you set the video to fullscreen, even if the mouse was never moved prior to going fullscreen.
This is the desired behaviour from which GMPlayer differs

GMPlayer behaviour:
When you start gmplayer, and the mouse pointer starts out outside the video window, the mouse is hidden when you move your mouse over the video, but when you set the video to fullscreen, without ever moving the mouse on the video surface prior to going fullscreen the mousepointer will not hide. Moving the mouse outside the video surface does not make a difference, it first has to 'touch' the video surface before gmplayer becomes 'aware' of it.
When you start gmplayer, and the mouse pointer starts out inside the video window, the mouse is not hidden after a few seconds, and also refuses to hide when you set the video to fullscreen as long as you do not move the mouse (over the video surface).

The behaviour described above applies to the XV video driver ("-vo xv"). As soon as the mouse has moved over (not touched) the gmplayer video surface it appears to behave to same as regular mplayer. This is annoying because I always have to move to mouse a little after starting a movie, if I don't I end up with a mouse cursor on my screen all the time.

A second, more easily spotted difference is in the gl and gl2 video drivers ("-vo gl" and "-vo gl2" resp.). Here the mouse pointer is always instantly hidden by mplayer (you could say 'the mouse pointer is beneath the video') where as it is never hidden in gmplayer requiring you to always move the mousepointer to the lower right corner of the screen.


My question is obvious:
1) Is it just me, or can anyone reproduce this?
2) Is there anything that can be done about this? (some hidden option not mentioned in the mplayer man page for example or some setting for the xv overlay)

Final remarks:
I am using xorg-x11-7.1, with xorg-server-1.1.1-r2, with an IBM Thinkpad T42 which has an ATi radeon 9600 mobility and using ati-drivers-8.27.10-r1.
This behavious is present in a SVN checkout from 2006-08-05, but if I remember correctly is was also present in the mplayer-1.0_pre8 release. If you feel it is import to double check, let me know and I will :)
_________________
"Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami

JGBE, a Java based GameBoy Emulator
Back to top
View user's profile Send private message
Da Fox
Guru
Guru


Joined: 06 Jul 2005
Posts: 340

PostPosted: Sun Aug 13, 2006 10:45 pm    Post subject: Reply with quote

I've checked with mplayer-1.0_pre8 and the latest SVN build, and both still have this issue. I wanted to test with 1.0_pre7 to, but unfortunately the ebuild is no longer in portage.
But I still don't know if it is just me, or a genuine bug so if anyone can confirm this please do :roll:
_________________
"Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami

JGBE, a Java based GameBoy Emulator
Back to top
View user's profile Send private message
Da Fox
Guru
Guru


Joined: 06 Jul 2005
Posts: 340

PostPosted: Wed Aug 16, 2006 7:16 pm    Post subject: Reply with quote

*bump*
Please confirm or disprove please :)
_________________
"Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami

JGBE, a Java based GameBoy Emulator
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4219
Location: Suzhou, China

PostPosted: Wed Aug 16, 2006 11:23 pm    Post subject: Reply with quote

I can confirm that Mplayer always hides the mouse pointer when going fullscreen, while GMplayer never hides the mouse pointer unless you move it.
This is mplayer from svn last friday (11 Aug).
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum