Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85733

Summary: xine-ui doesn't give focus back to konsole + fix
Product: Gentoo Linux Reporter: Prakash Punnoor <prakashp>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: chrisp, m.debruijne
Priority: Low Keywords: Inclusion
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix for getting my cursor back

Description Prakash Punnoor 2005-03-18 01:17:28 UTC
Since ages I had the following problem with xine-ui:

If I open up form konsole (kde) xine and quit it the regular way, I don't get my cursor back. I just have an hollow rectangle left and that's it. It I abort xine with ctrl+c all is ok.

So today I took 5 minutes to peek into source and found the trouble maker. This probably should be fixed upstream, but for me this patch works. I don't know what it might break though.

I wonder whether the problem is realted to xorg. Because I remember "back in the days" probably with xfree xine-ui quit as expected.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r1,
2.6.11.3-bk3 i686)
=================================================================
System uname: 2.6.11.3-bk3 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 16 2005, 17:53:17)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -fweb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer
-fweb -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache confcache digest distlocks prelink
sandbox sfperms"
GENTOO_MIRRORS=" ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc
-Wl,--relax"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/fluidportage/trunk /usr/lportage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/"
USE="x86 3dnow 3dnowex S3TC X a52 aac acpi acpi4linux alsa apm audiofile avi
berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr crypt cups curl dga
divx4linux dts dv dvb dvd dvdr dvdread edl emboss encode ext-png ext-zlib faac
faad fam ffmpeg fftw flac foomaticdb freetype gd gdbm gif gimp gimpprint gpm gs
gtk gtk2 ieee1394 imagemagick imlib ipv6 ithreads java javascript jpeg jpeg2k
kde kdeenablefinal ldap libg++ libwww lm_sensors lzo mad matroska mmx mmx2 mng
monkey motif moznocompose mp3 mpeg mpeg2 mpi ncurses network nls nocd nptl
nptlonly nvidia ogg oggvorbis openal opengl openssh oss pam pdflib perl pic png
povray ppds python qt qtmt quicktime readline real rtc samba scanner sdl smime
speex spell sqlite sse ssl tcpd tetex theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb utf8 vcd videos vorbis wmf wxwindows xfs
xine xinerama xinetd xml xml2 xv xvid xvmc yv12 zeroconf zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 1 Prakash Punnoor 2005-03-18 01:18:23 UTC
Created attachment 53762 [details, diff]
fix for getting my cursor back
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-23 19:42:50 UTC
Can you please report this upstream, and see what they say about it?
I have the same problem, but an #if 0 isn't usually the good solution.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-06 16:50:23 UTC
Definitely, #if 0 it is not the solution, as this is a minor problem we can live with, please just report this upstream and find a clean solution.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 04:56:53 UTC
*** Bug 95202 has been marked as a duplicate of this bug. ***
Comment 5 Prakash Punnoor 2005-07-28 02:09:34 UTC
If I saw it correctly in 99.4's code upstream just deleted the offending part. 
So if you want to backport, take a look and I think my patch makes sense then.