[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kwin] [Bug 345809] New: Kwin crashes when switching windows after switching displays
From: Nikhil Marathe <nsm.nikhil () gmail ! com>
Date: 2015-04-02 16:55:35
Message-ID: bug-345809-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=345809
Bug ID: 345809
Summary: Kwin crashes when switching windows after switching
displays
Product: kwin
Version: 5.2.1
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: xrandr
Assignee: kwin-bugs-null@kde.org
Reporter: nsm.nikhil@gmail.com
I have a intel graphics Lenovo x230 running archlinux. At work I have a dell
external monitor.
I have dbus hooks that, when i plug in the monitor (via VGA), uses xrandr to
switch to the monitor and disable the primary laptop display, and vice versa.
This problem occurs on both switches.
Here is the switcher script:
---------
#!/bin/bash
export XAUTHORITY=/home/nikhil/.Xauthority
export DISPLAY=:0.0
function connect {
xrandr --output VGA1 --auto --output DP1 --auto --output LVDS1 --off
}
function disconnect {
xrandr --output VGA1 --auto --output DP1 --auto --output LVDS1 --auto
}
xrandr | grep -e "\(DP1\|VGA1\) connected" &> /dev/null && connect ||
disconnect
----------
Now, after I switch displays, if I switch windows using my custom shortcut of
Meta+Tab, kwin will crash within a few seconds. I can force a crash by being
aggressive about the switching.
Unfortunately, drkonqi does not launch. Only useful info is a SIGSEGV.
Reproducible: Always
Steps to Reproduce:
1. Connect/disconnect external monitor to cause kwin to switch displays
2. Keep hitting switch-windows shortcut (Meta+Tab in my case) a couple of
times.
Actual Results:
Crash
Expected Results:
Don't crash
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic