Your message dated Sat, 14 Jun 2008 17:59:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#405133: fixed in kde-guidance 0.8.0-4
has caused the Debian Bug report #405133,
regarding messes up the display resolution (i.e. the dpi setting)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
405133: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405133
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kde-guidance
Version: 0.7.0-1
Severity: normal
Tags: patch


After installation of kde-guidance, and restart of X, all fonts were displayed
*much* larger than before. Changing the X-server resolution did not have any 
effect.
It appeared that using the default installation settings, guidance insists on
rounding the resolution to 96 or 120 dpi. In my case this means a 28% (!) 
increase
in font size (from 75dpi to 96dpi).

I have tried finding a way to change this behavior, but displayconfig does not 
have
an option to configure this. After reading the source, I manually created a file
/etc/kde3/displayconfigrc containing the text 'dpi=xserver'.
(For the benefit of other people reading this report: this file can be created 
in
any of the paths returned by 'kde-config --path config')

IMHO, kde-guidance's default policy should be to modify nothing, and use the X
server's setting. This also gives best results if the user may start X sessions
on different X servers (with different resolutions...). Consistency is also
improved across applications when some do, and others don't use xrdb's value.

Another reason is that users may install kde-guidance along with a large batch
of other software, or upgrades, and be puzzled as to why their fonts seem to
have changed.  Few may discover kde-guidance causes this, and even less will
discover how to change this, except by removing kde-guidance again...


I propose to change FixXorgDPI in
/usr/share/python-support/kde-guidance/displayconfig-restore.py as follows:
----------------------------------------------------------------
--- displayconfig-restore.orig  2006-12-31 16:35:55.000000000 +0100
+++ displayconfig-restore.py    2006-12-31 16:47:23.000000000 +0100
@@ -62,24 +62,25 @@
 # resource database. Most X applications (Qt and GTK apps at least) will then
 # use this DPI for font rendering.
 #
 def FixXorgDPI(desiredDPI):
     # dpi is:
-    #       None - round the DPI.
+    #       None - Use the X server's DPI.
     #       xserver - Use the X server's DPI.
+    #       round - Round the X server's DPI.
     #       <number> - DPI to use.
-    if desiredDPI=="xserver":
+    if desiredDPI=="xserver" or desiredDPI is None:
         return

     dpi = 96
     try:
-        if desiredDPI is not None:
+        if desiredDPI != "round":
             dpi = int(desiredDPI)
     except ValueError:
-        desiredDPI = None
+        desiredDPI = "round"

-    if desiredDPI is None:
+    if desiredDPI == "round":
         xserver = xf86misc.XF86Server()
         if len(xserver.getScreens())!=0:
             (width,height,width_mm,height_mm) = 
xserver.getScreens()[0].getDimensions()
             w_dpi = float(width)/(float(width_mm)/25.4)
             h_dpi = float(height)/(float(height_mm)/25.4)
----------------------------------------------------------------

Regards,

Rogier.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kde-guidance depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  libc6                  2.3.6.ds1-8       GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-19        GCC support library
ii  libpythonize0          0.4.0-3           Python packages to support KDE app
ii  libqt3-mt              3:3.3.7-1         Qt GUI Library (Threaded runtime v
ii  libstdc++6             4.1.1-19          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-4         X11 client-side library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxxf86vm1            1:1.0.1-2         X11 XFree86 video mode extension l
ii  pykdeextensions        0.4.0-3           Python packages to support KDE app
ii  python                 2.4.4-2           An interactive high-level object-o
ii  python-dbus            0.71-3            simple interprocess messaging syst
ii  python-kde3            3.15.2+20060422-3 KDE3 bindings for Python
ii  python-support         0.5.6             automated rebuilding support for p
ii  python2.4              2.4.4-1           An interactive high-level object-o
ii  sysv-rc                2.86.ds1-36       System-V-like runlevel change mech

kde-guidance recommends no packages.

-- no debconf information




--- End Message ---
--- Begin Message ---
Source: kde-guidance
Source-Version: 0.8.0-4

We believe that the bug you reported is fixed in the latest version of
kde-guidance, which is due to be installed in the Debian FTP archive:

guidance-backends_0.8.0-4_i386.deb
  to pool/main/k/kde-guidance/guidance-backends_0.8.0-4_i386.deb
kde-guidance-powermanager_0.8.0-4_i386.deb
  to pool/main/k/kde-guidance/kde-guidance-powermanager_0.8.0-4_i386.deb
kde-guidance_0.8.0-4.diff.gz
  to pool/main/k/kde-guidance/kde-guidance_0.8.0-4.diff.gz
kde-guidance_0.8.0-4.dsc
  to pool/main/k/kde-guidance/kde-guidance_0.8.0-4.dsc
kde-guidance_0.8.0-4_i386.deb
  to pool/main/k/kde-guidance/kde-guidance_0.8.0-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[EMAIL PROTECTED]> (supplier of updated kde-guidance package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 11 Jun 2008 12:53:05 +0200
Source: kde-guidance
Binary: kde-guidance guidance-backends kde-guidance-powermanager
Architecture: source i386
Version: 0.8.0-4
Distribution: unstable
Urgency: low
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Michael Meskes <[EMAIL PROTECTED]>
Description: 
 guidance-backends - collection of system administration tools for GNU/Linux
 kde-guidance - collection of KDE system administration tools for GNU/Linux
 kde-guidance-powermanager - HAL based power manager applet
Closes: 405133 445571 463220 473797 475172
Changes: 
 kde-guidance (0.8.0-4) unstable; urgency=low
 .
   * Added guidance-backend package, closes: #473797
   * Moved init script to new package because that's where the program is
     that is called during boot process.
   * Changed installation directory to integrate with python,
     closes: #475172, #463220
   * Enabled grubconfig.
   * Cleaned up debian/rules.
   * Added displayconfigrc file to make kde-guidance use the X server setting,
     closes: #405133
   * Fixed one patch to work with python 2.4.
   * Added patch to make wineconfig use apt-get instead of adept and not ask
     about universe, closes: #445571
Checksums-Sha1: 
 3936e3e2b867b894ad12c7add600f0b6fcfdf067 1494 kde-guidance_0.8.0-4.dsc
 e3f13fd80ac9eb48eec913f5ae37d68e257474c5 108653 kde-guidance_0.8.0-4.diff.gz
 f6ddf2a462b6c921e898c58b16b9c851a1d174ff 540280 kde-guidance_0.8.0-4_i386.deb
 921fd7b89bf6cd7ce6aee7a555df091beadcd38f 252624 
guidance-backends_0.8.0-4_i386.deb
 deecfd61872d0fe6565618d327e931cd7e3c672c 62988 
kde-guidance-powermanager_0.8.0-4_i386.deb
Checksums-Sha256: 
 5a5691d35e49a3b4170b0e3622d90edf7cf6616f5e35f78fd341a44fca8a52bb 1494 
kde-guidance_0.8.0-4.dsc
 7fd68f91131504e2677ec5982863e18fe8f0c3898c7533e0b5ff56fd750a9738 108653 
kde-guidance_0.8.0-4.diff.gz
 8a23ce4f29680872104525ff80307fff31b5db204ecb5c6a0fa0d76415075627 540280 
kde-guidance_0.8.0-4_i386.deb
 bc75ab1c56b641f4aed0f4aa2f092b778f3fe718aae0135023d5fe028b998908 252624 
guidance-backends_0.8.0-4_i386.deb
 ec1b3e02f50cfa2c092460f781c7b30b89c6c00d15ded5dcabd982217ebcda2f 62988 
kde-guidance-powermanager_0.8.0-4_i386.deb
Files: 
 376e5cc3772b2a199e99ec8611152b9c 1494 kde optional kde-guidance_0.8.0-4.dsc
 f0c5c683104866412801b1354bea41f9 108653 kde optional 
kde-guidance_0.8.0-4.diff.gz
 4641457132fd465fce37e111b01e2143 540280 kde optional 
kde-guidance_0.8.0-4_i386.deb
 77e46d8bd60178bda1a3f4d2c5453775 252624 kde optional 
guidance-backends_0.8.0-4_i386.deb
 8b29ef75338ccb2fb2ebf7c3727835a1 62988 kde optional 
kde-guidance-powermanager_0.8.0-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIT+stVkEm8inxm9ERAq8SAKCGp6F30uPPBEQvQaT6h+cVtbHaIQCfWuOi
lfo/oK97SukMr2x2zUohkzY=
=M9lc
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

Reply via email to