Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83927 - Windowmaker bug with QT/KDE applications on amd64
Summary: Windowmaker bug with QT/KDE applications on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 02:25 UTC by Bernard Cafarelli
Modified: 2006-01-17 15:25 UTC (History)
1 user (show)

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


Attachments
Patch from wm-dev mailing list (wmspec.c.patch,2.06 KB, patch)
2005-03-03 02:28 UTC, Bernard Cafarelli
Details | Diff
0.92 version of the patch (64bit+endian-fixes-0.92.patch,3.82 KB, patch)
2005-10-16 10:04 UTC, Max Loparev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2005-03-03 02:25:52 UTC
On amd64 platforms, QT applications popup windows often appear outside the screen, making the applications unusable. The windows are listed in the Alt-tab list, but are not reachable.

Discussion on this problem and a fix are available here:
http://article.gmane.org/gmane.compw.window-managers.windowmaker.devel/749

The patch provided works well with latest ebuild x11-wm/windowmaker-0.91.0-r2, and solved the problem for me (I don't know of side effects for other platforms though).


Reproducible: Always
Steps to Reproduce:
1. Emerge windowmaker and QT apps like licq or k3b
2. Run the app with windowmaker
3. Try to open options window

Actual Results:  
The window appears off-screen (is listed in Alt-Tab, but cannot be reached)

Expected Results:  
The window appears on screen ;)

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 24 2005, 11:01:46)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi aim alsa apache2 avi berkdb bitmap-fonts bonobo bzlib
cdb cdr crypt cups curl curlwrappers dga dio doc dvb dvd dvdr emacs encode esd
exif f77 fam fastcgi fftw flac font-server foomaticdb fortran ftb gb gd gdbm gif
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml ick imagemagick imap imlib ipv6
jabber java joystick jp2 jpeg junit kde libwww lzw lzw-tiff mad mbox mikmod mime mng
motif mozilla mpeg msn multilib nas ncurses nls nptl oggvorbis openal opengl
oscar oss pam pcmcia pcre pda pdflib perl php png posix python qt quicktime
readline recode samba scanner sdl shared sharedmem simplexml slang snmp sockets
socks5
speex spell ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts
unicode usb userlocales xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xv
xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Bernard Cafarelli gentoo-dev 2005-03-03 02:28:56 UTC
Created attachment 52532 [details, diff]
Patch from wm-dev mailing list
Comment 2 Armando Di Cianno (RETIRED) gentoo-dev 2005-03-17 15:13:11 UTC
patch added to windowmaker-0.91.0-r3; bug fixed.
Comment 3 Bernard Cafarelli gentoo-dev 2005-08-01 13:52:04 UTC
I'm reopening this bug, since the fix was not included in the 0.92 release
(while the other amd64 fixes from the gentoo 0.91 patch did get corrected).

So windowmaker-0.92.0-r1 has the same behavior as described before. Applying the
patch returned licq & k3b to a usable state

The gmane archive for the wm-dev mailing looks down, so I do not know why this
was not included in the new release
Comment 4 Christian Birchinger (RETIRED) gentoo-dev 2005-09-30 05:30:19 UTC
The patch also fixes my issues with OpenOffice.org which makes all menus "left
aligned". Acts as if theres no space to open the menus on the right side (like
when a menu hits the right border of the screen and tries to open it on the left
side instead to prevent it from appearing outside the visible area)
Comment 5 Bernard Cafarelli gentoo-dev 2005-09-30 10:24:15 UTC
Ah I was beginning to wonder if I was the last windowmaker-amd64 user on gentoo ;)

Looks like some debian users also still have the problem on wm-devel, maybe next
release will have the patch included
Comment 6 Max Loparev 2005-10-16 10:04:26 UTC
Created attachment 70796 [details, diff]
0.92 version of the patch

I've just ported 64bit+endian from 0.91 to 0.92
64bit part seems to be working good, but can't be sure about endian part
Comment 7 Max Loparev 2005-10-16 10:05:25 UTC
btw it solves firefox, thunderbird with gtk-2.6.8 starting problems
Comment 8 Bernard Cafarelli gentoo-dev 2006-01-06 15:43:43 UTC
I switched to gcc4 yesterday, and windowmaker with this patch added re-emerged fine (I had removed the tweaked ebuild from my overlay, but I quickly saw the missing patch when trying to burn a backup dvd with k3b ;) ).
Comment 9 Luis Medinas (RETIRED) gentoo-dev 2006-01-16 12:25:43 UTC
this patch is on the latest 0.92 revision.
Comment 10 Bernard Cafarelli gentoo-dev 2006-01-17 15:25:09 UTC
Which revision? 0.92.0-r1 has the epatch line but it's commented, and 0.92.0-r2 does not have any corresponding lines