<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>183721</bug_id>
          
          <creation_ts>2007-06-30 11:37 0000</creation_ts>
          <short_desc>xorg-server-1.3: desktop does not resize with RandR</short_desc>
          <delta_ts>2007-10-14 04:55:00 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>KDE</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sascha.lucas@rus.uni-stuttgart.de</reporter>
          <assigned_to>x11@gentoo.org</assigned_to>
          <cc>caster@gentoo.org</cc>
    
    <cc>chrschmitt@gmail.com</cc>
    
    <cc>gentoo@chlhp.de</cc>
    
    <cc>kde@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-06-30 11:37:01 0000</bug_when>
            <thetext>after upgrading from kde 3.5.6 to 3.5.7 the desktop does not resize to fit roteted screen.

Normal orientation of screen:
  ----- 
 |     | 
 |     | 
  ----- 

left orientation (right part is black, top part to big):
  ----- 
 |    || 
 |    || 
  -----

xorg video driver is nvidia; alternate WM (fluxbox) works.

very old similar kde-bug: https://bugs.kde.org/show_bug.cgi?id=112294

# emerge --info
Portage 2.1.3_rc6 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 29 Jun 2007 07:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=i686 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=i686 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans&quot;
GENTOO_MIRRORS=&quot;ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo&quot;
LANG=&quot;en_US.utf8&quot;
LC_ALL=&quot;en_US.utf8&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X a52 aac acpi aiglx alsa arts asf audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cdparanoia cdr cisco cli cpudetection cracklib crypt css cups curl dbus divx dlloader dmi dmx dri dv dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg firefox flac fortran gdbm gif gimp glitz gpgme gphoto2 gpm gs gstreamer gtk hal hbci iconv idn ieee1394 imagemagick imap imlib ipv6 irda isdnlog java jpeg kde kdeenablefinal latex lcms libg++ logitech-mouse logrotate lzo mad mbox midi mikmod mmx mmxext mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ofx ogg opengl openmp oss pam pcmcia pcre pdf perl png pop ppds pppd python qt3 qt4 quicktime rdesktop readline real realmedia reflection samba sasl scanner sdl session slang smime smtp spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utempter vnc vorbis wifi win32codecs wmf wmp x264 x86 xcomposite xine xinerama xml xml2 xorg xv xvid xvmc zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev joystick keyboard mouse vmmouse void&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;de&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;mach64 radeon dummy fbdev nv nvidia vesa vga vmware&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2007-06-30 14:35:28 0000</bug_when>
            <thetext>Can you reproduce the problem when using the F/OSS nv driver? Using the closed-source nvidia driver, I can reproduce the problem on KDE 3.5.7.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-06-30 14:50:56 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Can you reproduce the problem when using the F/OSS nv driver? Using the

same thing with nv-driver. it&apos;s not the X-screen that works wrong (mouse courser can move the whole screen and fluxbox works), just a KDE problem... I think.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cryos@gentoo.org</who>
            <bug_when>2007-07-18 08:15:15 0000</bug_when>
            <thetext>This looks very much like an upstream issue and I am not sure we have the resources to patch this without help.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-07-18 10:33:10 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; This looks very much like an upstream issue and I am not sure we have the
&gt; resources to patch this without help.

ok. I&apos;ve sent a comment to the KDE bug listed above. Let&apos;s see what will happen ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-07-19 11:21:06 0000</bug_when>
            <thetext>(In reply to comment #4)

&gt; ok. I&apos;ve sent a comment to the KDE bug listed above. Let&apos;s see what will happen

Robert Gerlach posted a patch (http://bugs.kde.org/attachment.cgi?id=21183&amp;action=view). I&apos;d like to test it, if no one else would, but I need a little bit help which eclass to modify and perhaps how.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caster@gentoo.org</who>
            <bug_when>2007-07-21 19:23:31 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; 
&gt; &gt; ok. I&apos;ve sent a comment to the KDE bug listed above. Let&apos;s see what will happen

It didn&apos;t fix it for me, see my screenshots at upstream bug.
 
&gt; Robert Gerlach posted a patch
&gt; (http://bugs.kde.org/attachment.cgi?id=21183&amp;action=view). I&apos;d like to test it,
&gt; if no one else would, but I need a little bit help which eclass to modify and
&gt; perhaps how.

Not eclass, but the qt ebuild. For example:
Index: qt-3.3.8-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r2.ebuild,v
retrieving revision 1.10
diff -u -B -r1.10 qt-3.3.8-r2.ebuild
--- qt-3.3.8-r2.ebuild  30 May 2007 11:49:19 -0000      1.10
+++ qt-3.3.8-r2.ebuild  21 Jul 2007 19:22:19 -0000
@@ -118,7 +118,7 @@
        epatch ${FILESDIR}/0038-dragobject-dont-prefer-unknown.patch
        epatch ${FILESDIR}/0044-qscrollview-windowactivate-fix.diff
        epatch ${FILESDIR}/0047-fix-kmenu-widget.diff
        epatch ${FILESDIR}/0048-qclipboard_hack_80072.patch
+       epatch ${FILESDIR}/randr.patch

        # ulibc patch (bug #100246)
        epatch ${FILESDIR}/qt-ulibc.patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sascha.lucas@rus.uni-stuttgart.de</who>
            <bug_when>2007-07-22 20:12:13 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; It didn&apos;t fix it for me, see my screenshots at upstream bug.

I&apos;ve also tried the qt-patch and it works for me. also the kicker behaves right. can&apos;t reproduce your problem.

&gt; Not eclass, but the qt ebuild. For example:

thanks. It toke me some time until I noticed that this was a qt patch and not a KDE one. Can the patch order have an influence? I put the randr patch after utf8-bug-qt3.diff.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2007-07-26 11:46:45 0000</bug_when>
            <thetext>O.k., if I read this right, all comes down to 

https://bugs.freedesktop.org/show_bug.cgi?id=2965


so it&apos;s X11 turf.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caster@gentoo.org</who>
            <bug_when>2007-07-26 13:11:07 0000</bug_when>
            <thetext>This patch, applied to xorg-server-1.3.0.0 fixed everything for me, including kicker panels. Dunno why Robert Gerlach says you need to revert this patch...

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=c10df5b967d4da4e11786520317e2917de5541fa</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-09-24 09:45:08 0000</bug_when>
            <thetext>This is the patch that needs including for xorg 1.3.0

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=c10df5b967d4da4e11786520317e2917de5541fa;hp=e1dea151db6405e12d991feacba9446320739ee8</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caster@gentoo.org</who>
            <bug_when>2007-09-24 18:31:41 0000</bug_when>
            <thetext>BTW xorg-server-1.4 is fine, I also checked the patch is indeed applied in its sources...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrschmitt@gmail.com</who>
            <bug_when>2007-09-24 22:27:33 0000</bug_when>
            <thetext>So as long as 1.4 is still marked unstable, can we make an 1.3.0.0-r1 and release it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrschmitt@gmail.com</who>
            <bug_when>2007-09-24 23:46:56 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; This patch, applied to xorg-server-1.3.0.0 fixed everything for me, including
&gt; kicker panels. Dunno why Robert Gerlach says you need to revert this patch...
&gt; 
&gt; http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=c10df5b967d4da4e11786520317e2917de5541fa
&gt; 

I applied it as well an it resolves the whole problem. Should definately go into the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-14 04:55:00 0000</bug_when>
            <thetext>Fixed in xorg-server-1.3.0.0-r2, thanks!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>