https://bugs.kde.org/show_bug.cgi?id=363872

            Bug ID: 363872
           Summary: Kate causes non-refreshing rectangle on second screen
           Product: kate
           Version: unspecified
          Platform: Archlinux Packages
               URL: https://bbs.archlinux.org/viewtopic.php?pid=1630551#p1
                    630551
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: deeee...@gmail.com

Versions:
Kate: 16.04.1
KDE Frameworks: 5.22.0
Qt: 5.6.0

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.

Here is a screenshot of the box, showing part of Kate editing area and covering
a terminal window:
https://i.imgsafe.org/0e4b0e784a.png

I also have a permanent crash issue on disconnecting the second screen, I will
file another bug report as that might be independent from this.

Reproducible: Always

Steps to Reproduce:
1. start Xorg by either startx --> dwm or gdm --> cinnamon
2. execute xrandr to use 2 screens, e.g. xrandr --output eDP1 --mode 1366x768
--pos 0x0 --output HDMI1 --mode 2560x1440 --pos 1366x0
3. start Kate, set it to the 2nd screen

Actual Results:  
the rectangle appears, and present over any other windows on any other virtual
desktops on 2nd screen

Expected Results:  
refreshing the whole screen, do not cover anything outside its own window area

This issue I posted before to the Arch Linux forum, and decided to post here
because got no answer, and it is apparently related to Kate:
https://bbs.archlinux.org/viewtopic.php?pid=1630551#p1630551

I really want to keep editing with Kate, changing editors is lots of trouble,
so I am happy to recompile and test if that helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to