You are not logged in.
I have an up-to-date Arch system, I use dwm as window manager (the dwm-pango AUR package, freshly compiled, launched by startx), and I use kate as my primary text editor. I have 2 or 3 screens beside the built in of the laptop, 2 attached by HDMI and VGA cables, I set up these with xrandr to extend the desktop. Recently I experience a rectangle on the second screen which fails to refresh, i.e. shows what was shown on that area before in some other windows, or black if there was an empty desktop before.
-- This rectangle is cca. 30 px high, 300 px wide, and positioned slightly left top direction from the middle of the screen.
-- It appears once I start kate, and does not disappear after.
-- I use kate on the second screen most of the time, but it does not matter on which screen I start kate.
-- The rectangle disappears and the window in focus refresh correctly if I switch the window into floating mode.
-- But once I go back to tiling or monocle mode, the rectangle comes back with its content from actual state of the window in focus, and it keeps showing this until it is overwritten the same way by a new floating window.
-- If I click on the rectangle by left button, kate's file open dialog pops up (despite kate is on an other virtual desktop); if I click by right button, some local menus of kate pop up, I don't know actually where are those menus in kate (show text, toolbar settings, etc).
-- I tried if dwm matters, I tested with gdm, gnome and cinnamon, and the rectangle appears in those WMs as well.
-- I tested if the VGA/HDMI connection matters, but the rectangle is there with both.
-- I tested if the screen matters trying with 2 different screens with different resolutions, and the rectangle is always there.
Kate also has an other annoying behaviour in the described context: if I unplug the monitor cable or change the xrandr settings, kate craches. No matter if I moved it to the built-in screen, it still crashes. Accidentally I found only one way to avoid it: switch it to floating mode, and shrink its size. Another Qt app, TeXStudio also craches under these circumstances, but that one does not have the unrefreshed rectangle annoyance.
I really don't know how to start resolving these issues, would appreciate very much if someone having more insight could give me some hints. These last already for a couple of months, I could not find any relevant info by searching.
Last edited by deeenes (2016-06-04 18:55:41)
Offline
I posted the issue to KDE bugzilla, and it could be resolved! In short, the rectangle was actually Kate's main toolbar. See details here, screenshots of the rectangle in its original state, and when showing the toolbar.
Offline