[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#311433: xgamma: does not report correct gamma when gamma wasn't set with xgamma



Package: xbase-clients
Version: 4.3.0.dfsg.1-12.0.1
Severity: normal

When xgamma is run with no options it displays the current red, green
and blue gamma as far as it knows.  This is often wrong however, since
other programs (such as games running under WINE or SDL applications)
may set screen gamma without using xgamma to do it.  When xgamma is run
in these instances it displays what the screen gamma was set to before
it was changed, which is wrong.

To reproduce:
- use xgamma to set the screen gamma to any value, say x
- run a third-party program that uses libraries such as WINE or SDL to
  change the screen gamma, to, say, y
- switch out of the third-party program and run 'xgamma'.  It will report
  x instead of y

If the program exits and resets the screen gamma to the value it was
before running, xgamma will once again be correct.  However, if the
third-party program crashes, the gamma will not be set back and xgamma
will report incorrect values until the gamma is manually set using
xgamma.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.9
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xbase-clients depends on:
ii  cpp                  4:3.3.5-3           The GNU C preprocessor (cpp)
ii  libc6                2.3.2.ds1-21        GNU C Library: Shared libraries an
ii  libdps1              4.3.0.dfsg.1-12.0.1 Display PostScript (DPS) client li
ii  libexpat1            1.95.8-3            XML parsing C library - runtime li
ii  libfontconfig1       2.3.2-1             generic font configuration library
ii  libfreetype6         2.1.7-2.4           FreeType 2 font engine, shared lib
ii  libgcc1              1:4.0-0pre6ubuntu6  GCC support library
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  libncurses5          5.4-4               Shared libraries for terminal hand
ii  libpng12-0           1.2.8rel-1          PNG library - runtime
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libstdc++5           1:3.3.6-3           The GNU Standard C++ Library v3
ii  libxaw7              4.3.0.dfsg.1-12.0.1 X Athena widget set library
ii  libxcursor1          1.1.3-1             X cursor management library
ii  libxext6             4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii  libxft2              2.1.7-1             FreeType-based font drawing librar
ii  libxi6               4.3.0.dfsg.1-12.0.1 X Window System Input extension li
ii  libxmu6              4.3.0.dfsg.1-12.0.1 X Window System miscellaneous util
ii  libxmuu1             4.3.0.dfsg.1-12.0.1 lightweight X Window System miscel
ii  libxpm4              4.3.0.dfsg.1-12.0.1 X pixmap library
ii  libxrandr2           4.3.0.dfsg.1-12.0.1 X Window System Resize, Rotate and
ii  libxrender1          1:0.8.3-1           X Rendering Extension client libra
ii  libxt6               4.3.0.dfsg.1-12.0.1 X Toolkit Intrinsics
ii  libxtrap6            4.3.0.dfsg.1-12.0.1 X Window System protocol-trapping 
ii  libxtst6             4.3.0.dfsg.1-12.0.1 X Window System event recording an
ii  libxv1               4.3.0.dfsg.1-12.0.1 X Window System video extension li
ii  xlibmesa-gl [libgl1] 4.3.0.dfsg.1-13     Mesa 3D graphics library [XFree86]
ii  xlibmesa-glu [libglu 4.3.0.dfsg.1-12.0.1 Mesa OpenGL utility library [XFree
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu
ii  xlibs-data           4.3.0.dfsg.1-12     X Window System client data
ii  zlib1g               1:1.2.2-4           compression library - runtime

-- no debconf information

-- 
Jeff Bonham
jbonham@mail.utm.utoronto.ca
PGP Public Key ID: BA289747

Attachment: signature.asc
Description: Digital signature


Reply to: