Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246116 - media-video/vlc-0.9.x interface buttons messed up
Summary: media-video/vlc-0.9.x interface buttons messed up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Alexis Ballier
URL: http://forum.videolan.org/viewtopic.p...
Whiteboard:
Keywords:
Depends on: 248038
Blocks:
  Show dependency tree
 
Reported: 2008-11-09 00:47 UTC by Fabio Bonfante
Modified: 2009-01-25 21:06 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Bonfante 2008-11-09 00:47:01 UTC
From version 0.9.2 to 0.9.6 the buttons on the qt interface are note well-aligned (see the post on the videolan forum). On my amd64 machine it's all ok, so seems a x86 related problem.

For all vlc version tested i've always used qt-4.3.3(4)(21:14:24 23/04/2008)(accessibility cups dbus gif input_devices_wacom jpeg mng mysql nas odbc opengl png postgres qt3support ssl tiff xinerama zlib -debug -doc -examples -firebird -glib -nis -pch -sqlite -sqlite3)

I didn't try to re-emerge qt (but the guy on the forum has).

Those are the use-flags used with vlc: vlc-0.9.6(20:14:20 08/11/2008)(X a52 aac alsa cdda cddb cdio dbus dirac directfb dts dvb dvd esd fbcon ffmpeg flac gnome gnutls hal httpd jack libgcrypt libnotify lirc live lua matroska mmx mp3 mpeg musepack ncurses ogg opengl oss png qt4 remoteosd rtsp samba sdl skins speex sse stream svg theora truetype upnp v4l v4l2 vcd vlm vorbis win32codecs x264 xinerama xml xosd xv -aalib -altivec -arts -atmo -avahi -bidi -dc1394 -debug -fluidsynth -fontconfig -ggi -id3tag -kate -libass -libcaca -libv4l2 -modplug -nsplugin -optimisememory -pulseaudio -pvr -schroedinger -sdl-image -seamonkey -shout -svga -taglib -twolame -vcdinfo -vcdx -zvbi)
Comment 1 Wormo (RETIRED) gentoo-dev 2008-11-10 00:34:12 UTC
Thanks for the report; please post your emerge --info output as well.
Comment 2 Fabio Bonfante 2008-11-10 00:40:32 UTC
Portage 2.2_rc13 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5
Timestamp of tree: Sun, 09 Nov 2008 07:02:01 +0000
distcc[949] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc/state failed: No such file or directory [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS=""
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/java-overlay /usr/local/overlays/fluendo-elisa /usr/local/overlays/zugaina /usr/local/overlays/armagetron /usr/local/overlays/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amuled apache2 asf audacious avahi avi bash-completion berkdb browserplugin bzip2 cairo cddb cdparanoia cdr chm cli cracklib crypt cups curl dbus directfb dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon fbsplash ffmpeg flac gcj gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn ieee1394 imagemagick innodb ipod ipv6 isdnlog jack java jpeg jpeg2k kerberos lcms ldap libnotify libvisual lirc lzo mad matroska midi mikmod mmx mng mod modplug mono mp3 mpd mpeg mtp mudflap musepack mysql mythtv ncurses nfs nls nptl nptlonly nsplugin nvidia objc odbc ogg oggvorbis openal openexr opengl openmp pam pcre pdf perl png postgres pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session skins sndfile speex spell spl sqlite srt sse sse2 sse3 ssl startup-notification stream streamout svg tagwriting tcpd tga theora threads tiff truetype tv unicode usb userlocales v4l vcd vhosts vorbis wacom wavpack webservices wmf wxwindows x264 xine xinerama xml xml2 xorg xosd xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alexis Ballier gentoo-dev 2008-11-10 15:18:10 UTC
Really weird; I've had seen that forum post but never have I been able to reproduce it (I'm on amd64 though).
@x86 team: can anyone reproduce this ?

Could be related to qt useflags too, but you said you've been using the exact same useflags on the two machines.
Comment 4 Fabio Bonfante 2008-11-10 18:20:03 UTC
well, i used the same qt version for all vlc installations on x86, checking now the differences...
Ok the qt-4.3.3 on amd64 differs from x86 by this use flags:
-nas 
-input_devices_wacom
+sqlite

(really...they seems not related to manage widget's layout)
I'm building qt on amd64 with the same flags of the x86 version...
I'll check the libpng version on the two machine ( 1.2.26-r1 on amd64, i've not access now at the x86).

Any other idea?
Comment 5 azalsup 2008-11-10 21:02:20 UTC
I encountred the same probleme using VLC media player 0.9.4 Grishenko with a gentoo x86 (intel prosss not amd 64bit)


you can see a screencapture of the result : http://picasaweb.google.fr/lh/photo/CCu7CPDXhahJ8YWef8iYmQ

i installed this version of vlc by modifying /etf/make.conf
ACCEPT_KEYWORDS="~x86" # the only solution to install the last version

#my use variable
USE_KDE1="bzip2 cxx unicode zlib -doc -debug -java" 
USE_KDE2="crypt python -examples -lcms nls -emacs -mono xscreensaver" 
USE_KDE3="cups ipv6 -firebird gif -immqt -immqt-bc -mysql -nas -nis -odbc opengl -postgres -sqlite" 



USE_KDE4="midi -alisp -network-cron ssl" 
USE_KDE5="berkdb gbdm pam -authdaemond -kerberos -ldap -ntlm_unsupported_patch -urandom -xcomposite" 
USE_KDE6="acl alsa cups -avahi -bindist -branding -fam -jpeg2k -kdeenablefinal -kdehiddenvisibility  -legacyssl -lua -openexr -spell tiff -utempter"

USE_KDE="$USE_KDE1 $USE_KDE2 $USE_KDE3 $USE_KDE4 $USE_KDE5 $USE_KDE6"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 

USE_KDE_BASE="-arts -debug -kdeenablefinal -xinerama"

USE_VIDEO="ffmpeg mpeg mad wxwindows ogg flac theora aac dts a52 oggvorbis matroska freetype truetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live png"

#for printer
USE_PRINTER="ppds scanner snmp"
#USE="X gtk gnome -alsa"
USE="suid X gtk -gnome qt3 qt4 kde dvd alsa cdr $USE_KDE_BASE $USE_KDE $USE_PRINTER $USE_VIDEO"

Comment 6 Axel Dyks 2008-11-11 17:37:07 UTC
So now we have

  - VLC depending on QT (on XFCE and/or GNOME desktop)

  - interface buttons messed up (on x86 32 bit)

  - embedded video not working (> 0.9.3)

  - m3u-extvlcopt switch no longer supported
    (which breaks my DVB-T playlist)

I would call this a regression and I seriously doubt
that stabilizing 0.9.X has been a good idea ...

Hoping that the 0.8.6* ebuild(s) will stay in portage,
for I'm going to mask 0.9.X ...

Cheers

Axel
Comment 7 Fabio Bonfante 2008-11-11 18:54:40 UTC
on x86:
- unmerge, emerge of vlc-0.9.6... nothing solved (well as expected).
- i'll try with qt and the same use flags i've on amd64 (but imho probably doesn't matter)
Comment 8 David D. Huff Jr. 2008-11-14 05:15:10 UTC
Don't forget 0.9.6 puts it's config in a different location. 

I dumped it anyways and went back to the old version since the wxGTK is no longer supported. It is worthless without an interface and there isn't a QT binary on my systems. devolution..
Comment 9 Jeremy Murphy 2008-11-15 10:30:13 UTC
Just want to confirm that I also have this bug on x86 but not on ~amd64, and that I really look forward to it being fixed!  I would also question whether 0.9.x should have gone stable for x86.  Here's emerge --info from my x86 laptop:

Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Fri, 14 Nov 2008 06:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distcc distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo "
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dga dri dts dv dvb dvd dvdr dvdread emboss encode evo expat fam ffmpeg fftw firefox flac fontconfig fortran gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv ieee1394 imlib ipv6 isdnlog java java6 javascript jpeg kde kqemu laptop libnotify lirc lzo mad matroska midi mikmod mmap mmx mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora tiff truetype unicode usb vorbis wifi win32codecs wmf wxwindows x86 xcomposite xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Fabio Bonfante 2008-11-15 15:35:26 UTC
Just another little note... looking at the interface seems that the layout manager consider the buttons as if they were half-sized. Joining this with the fact that this problem is reported only on x86 and not on amd64, can be a wrong declaration type/conversation regarding some variable that specify the size of the buttons/group? After all, the other buttons at the right are ok...

(i know that would be a good idea look at the code... but i've really no time to get familiarity with qt and to investigate deeply in the vlc code... so like always... any volunteers?)
Comment 11 Markus Meier gentoo-dev 2008-11-18 05:54:28 UTC
(In reply to comment #3)
> Really weird; I've had seen that forum post but never have I been able to
> reproduce it (I'm on amd64 though).
> @x86 team: can anyone reproduce this ?

yes I am able to reproduce on x86, but not on ~x86. I've enabled the same USE-flags on x86 as on amd64.
Comment 12 Alexis Ballier gentoo-dev 2008-11-18 08:03:02 UTC
(In reply to comment #11)
> (In reply to comment #3)
> > Really weird; I've had seen that forum post but never have I been able to
> > reproduce it (I'm on amd64 though).
> > @x86 team: can anyone reproduce this ?
> 
> yes I am able to reproduce on x86, but not on ~x86. I've enabled the same
> USE-flags on x86 as on amd64.


and now comes the extra question: I suppose the main difference between x86 and ~x86 is the qt4 version; does using qt4.4 instead of 4.3.3 solves this ? and 4.3.x (x>=4)?
Comment 13 Markus Meier gentoo-dev 2008-11-22 23:09:17 UTC
incorrect with qt-4.3.{4,5}
good with qt-4.4.
Comment 14 Alexis Ballier gentoo-dev 2008-12-09 13:58:02 UTC
(In reply to comment #13)
> incorrect with qt-4.3.{4,5}
> good with qt-4.4.

so this is a qt4+x86 issue? I'm not 100% sure there, but if this is fixed by upgrading qt this is probably not a vlc issue.
@qt: any help is very welcome
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2009-01-19 15:50:29 UTC
qt-4.4.2 is now stable, so on my x86 machine , using the latest stable vlc and qt-4.4.2 I can't reproduce this issue
Comment 16 Markus Meier gentoo-dev 2009-01-25 21:06:16 UTC
also fixed in my setup, closing.