[Bug 831439] [NEW] krandrtray/'kcmshell4 display' doesnt update display settings when changed through xrandr
Jesper R
831439 at bugs.launchpad.net
Mon Aug 22 16:05:10 UTC 2011
Public bug reported:
Since they don't update display information they keep what ever settings
was previously set through them. The effect is that when you open either
one of them, they will reset the screen configuration to what was
previously configured through either of them.
This is easily reproduceable with two monitors.
# Disable laptop screen
reenberg at mille:~$ xrandr --output LVDS --off
# Start krandrtray, such that it runs in the background/tray
reenberg at mille:~$ krandrtray
# Enable output on the laptop screen again
reenberg at mille:~$ xrandr --output LVDS --auto --right-of DVI-0
# Error from krandrtray
reenberg at mille:~$ display-randr(11464) RandROutput::handleEvent: FIXME: Output event ignored!
Now when krandrtray is opened from the tray, it resets the screen
settings, such that (in my case) the laptop screen are disabled, and a
few more errors are printed to the terminal
reenberg at mille:~$ QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/reenberg/.config/ibus/bus
display-randr(11464) RandROutput::handleEvent: FIXME: Output event ignored!
display-randr(11464) RandROutput::handleEvent: FIXME: Output event ignored!
display-randr(11464) RandROutput::handleEvent: FIXME: Output event ignored!
display-randr(11464) RandROutput::handleEvent: FIXME: Output event ignored!
Actually all this also happens when krandrtray is started. If I don't
disable my laptop screen before i start krandrtray, it will be disabled
when run it, even without having to open the application by clicking on
the tray icon.
Obviously this happens because I at some point configured to only use my
external screen, which krandrtray has remembered.
I have been fiddeling around with this for quite some hours now and at
some point, I got krandrtray to think that all my screen should be
disabled, so when starting krandrtray it disabled all my screens. It
beats me how I got it to think that, however this is not at all user
friendsly, as every time you would try to open either krandrtray or the
display module (kcmshell4 display) to rectify the problem or to set a
new screen configuration, it disables all the screens. Obviously it was
easily fixed by manually changing the krandrrc config file.
During the above misbehaviour it was nice that it seems to execute the
default profile when you reboot (as also stated by the
ApplyOnStartup=true setting in the config file). However, it would still
disable all the screen when the application was started. So I would say
that it is a really bad ide that it changes the display settings when
you start the application, why on earth would it do that? I would say
that it should only change the display settings when the ok/apply button
is pressed.
Btw, when rightclicking on the tray icon I also get these errors:
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: kde-workspace-bin 4:4.7.0-0ubuntu8
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
Date: Mon Aug 22 17:41:30 2011
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110816)
ProcEnviron:
LANGUAGE=
LANG=da_DK.UTF-8
SHELL=/bin/bash
SourcePackage: kde-workspace
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: kde-workspace (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 oneiric
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/831439
Title:
krandrtray/'kcmshell4 display' doesnt update display settings when
changed through xrandr
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/831439/+subscriptions
More information about the kubuntu-bugs
mailing list