mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

Window size will getting bigger slightly when press F9 or Ctrl+D or Ctrl+M or I #463

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Enable then disable playlist showing(F9), both horizontal and vertical size of 
the video window will getting bigger slightly.

and Ctrl+D or Ctrl+M or I will make vertical size become bigger.

but show or hide controlbar won't have such problem.

Original issue reported on code.google.com by jason5...@gmail.com on 3 Dec 2010 at 5:01

GoogleCodeExporter commented 8 years ago
I have a technique for dealing with this now, just have a lot of code to add to 
finish it up.

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 3:14

GoogleCodeExporter commented 8 years ago
SVN r1792 is better, still not perfect just a couple of cases to fix, but give 
it a try.

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 3:50

GoogleCodeExporter commented 8 years ago
no at all, now the vertical window size will constantly increase when enable 
playlist, info etc. until reach the screen edge.

but the horizontal size will not change.

Original comment by jason5...@gmail.com on 3 Dec 2010 at 7:53

GoogleCodeExporter commented 8 years ago
Aware of that and working on it...

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 8:05

GoogleCodeExporter commented 8 years ago
try r1793, seems to fix it for me.

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 9:04

GoogleCodeExporter commented 8 years ago
Still the same problem here... r1793

Original comment by jason5...@gmail.com on 3 Dec 2010 at 9:24

GoogleCodeExporter commented 8 years ago
Can you provide the exact sequence you are creating the problem with? I can't 
duplicate it here at the moment.

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 9:25

GoogleCodeExporter commented 8 years ago
no extra steps, just open a video and press F9 or CTRL+D etc.

i use gnome-mplayer -v, and see this constantly shown if open playlist.
   ERROR: [ASPECT] Warning: No suitable new res found!

the full info is here, i did't see anything interesting:
   http://pastebin.com/TxyYycgV

the configure command line is:
    ./configure --prefix=/usr --sysconfdir=/etc \
              --without-alsa --with-gio --with-libnotify --without-gconf \
              --with-gpm-new-method --enable-panscan

Original comment by jason5...@gmail.com on 3 Dec 2010 at 9:43

GoogleCodeExporter commented 8 years ago
and i didn't build with libpause libgpod support, and i am using ffmpeg-mt and 
mplayer-mt if that would help.

archlinux, gtk 2.22.1, gnome 2.32.1

Original comment by jason5...@gmail.com on 3 Dec 2010 at 9:45

GoogleCodeExporter commented 8 years ago
gnome-mplayer is not tested with mplayer-mt as there are certain filters in 
mplayer-mt that are not implemented. However, that should not affect this. BTW, 
I have tested two machines with different setups and neither one has the same 
problem as yours. One is using gtk 2.22 and the other is gtk 2.20.

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 10:01

GoogleCodeExporter commented 8 years ago
please remove the --enable-panscan option, that is unsupported at this time. 

Original comment by kdeko...@gmail.com on 3 Dec 2010 at 10:07

GoogleCodeExporter commented 8 years ago
Not working, even removed --enalbe-panscan.

i tried to delete the config files, change a gtk theme, but not working.

and when playlist shows, i can't use mouse to move the gnome-mplayer window, it 
will back to the place when playlist not shown.

Original comment by jason5...@gmail.com on 3 Dec 2010 at 10:32

GoogleCodeExporter commented 8 years ago
Have no problem with SVN1793

I've attached nvidia-bug-report.log as it contains system essential info and 
config.log

Original comment by amid...@gmail.com on 5 Dec 2010 at 10:32

Attachments:

GoogleCodeExporter commented 8 years ago
OK.
There is width problem when you hit F9 rrepeatedely very fast, but really, who 
would do that in real life...

GNOME-MPlayer verbose don't show anything interesting execpt that my computer 
is too slow

Original comment by amid...@gmail.com on 5 Dec 2010 at 10:40

Attachments:

GoogleCodeExporter commented 8 years ago
Pretty much all I can figure from debugging the code at this point, even after 
making a few more changes is that when the show, hide, show sequence happens 
very fast the GTK events become intermingled and my state flags get changed out 
of order. I can press F9 pretty fast now and it seems ok, but when I hold it 
down it definitely will slide right. Pressing Ctrl-1 is an easy work around to 
this for now.

Original comment by kdeko...@gmail.com on 5 Dec 2010 at 2:23

GoogleCodeExporter commented 8 years ago
i know why now. i really tested a lot and the reason is gnome-globalmenu, means 
the gnome-mplayer window did not contain the menubar, enable 
"globalmenu-plugin" module this issue happen.

hope there is at least  a workaround. because ubuntu will contain this function.

Original comment by jason5...@gmail.com on 5 Dec 2010 at 4:16

GoogleCodeExporter commented 8 years ago
I don't see how the globalmenu-plugin could affect this as I don't use the 
menubar width for calculation. But I'll look into it.

Original comment by kdeko...@gmail.com on 6 Dec 2010 at 2:21

GoogleCodeExporter commented 8 years ago
maybe the window just did not count the missing of menu bar somehow.

Original comment by jason5...@gmail.com on 6 Dec 2010 at 4:59

GoogleCodeExporter commented 8 years ago
Believe this is fixed in SVN

Original comment by kdeko...@gmail.com on 4 Apr 2011 at 2:56

GoogleCodeExporter commented 8 years ago
The problem is still there. svn 1982

Original comment by jason5...@gmail.com on 10 Apr 2011 at 3:23

GoogleCodeExporter commented 8 years ago
Are you in vertical or horizontal mode?

Original comment by kdeko...@gmail.com on 10 Apr 2011 at 10:36

GoogleCodeExporter commented 8 years ago
I tested this in both horizontal and vertical modes here and I wasn't able to 
find the sequence to make show up wrong, can please provide that. And If you 
are still using the global menu plugin, please disable it and see if that 
solves the problem.

Original comment by kdeko...@gmail.com on 10 Apr 2011 at 10:44

GoogleCodeExporter commented 8 years ago
This problem was not exist without globalmenu at the first place.

PS: i am using indicator-appmenu. Is there any other ubuntu user meet this 
problem?

Original comment by jason5...@gmail.com on 11 Apr 2011 at 12:20

GoogleCodeExporter commented 8 years ago
Can you provide a link that shows where to get the global menu. The problem is 
that unless I can detect that the global menu is in use, then I won't be able 
to resize the window properly.

Original comment by kdeko...@gmail.com on 11 Apr 2011 at 1:40

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/gnome2-globalmenu/ or 
https://launchpad.net/indicator-appmenu

ubuntu 11.04 already using indicator-appmenu.

Original comment by jason5...@gmail.com on 12 Apr 2011 at 5:55

GoogleCodeExporter commented 8 years ago
I think we need to move this to a new bug as this has not diverged off the 
original issue.

Please make all comments about globalmenu or indicator app here:
http://code.google.com/p/gnome-mplayer/issues/detail?id=501

Original comment by kdeko...@gmail.com on 12 Apr 2011 at 12:43