You are not logged in.
Hello,
I have my system rolled back to April 4th, because on the 5th comes the update to qt6.9, which makes applications ran inside qterminal -- think vim, mutt, ls, man -- display these weird black and/or grayish bars... I've tried installing lxqt-qtplugin (as suggested here), to no avail. I've also tentatively tried to hold back (IgnorePkg) qt6-basic (qterminal wouldn't start due problems related to partial updates) and libqtxdg (same weird bars problem). Hence I would kindly ask for the wisdom of the Arch crowds... Thank you in advance.
Offline
display these weird black and/or grayish bars
Do you have a screenshot illustrating how weird exactly they are?
Offline
Looks like empty lines don't get cleared/painted at all (so probably behavior qterminal relied on got optimized away)
Is this on X11, wayland or doesn't matter?
Do you set either application or terminal transparency?
Does setting a background image change anything?
Offline
X11, no and haven't tried, because I do not use transparencies.
Offline
You should™ be able to set some backgroup pixmap inside qterminal, like a wallpaper.
This isn't related to compositing or window transparency.
Offline
Ok, with a background set, the problem seems to go away! Weird!
Offline
qterminal now has to actively paint the background and not just set the palette.
qtermwidget is a bit inconsistent about the opaque paint event:
https://github.com/lxqt/qtermwidget/blo … y.cpp#L434
https://github.com/lxqt/qtermwidget/blo … y.cpp#L717
It defaults to an opaque paint event (ie. telling Qt it won't have to clear the window) and then negates that when you set a background image but ::paintEvent seems to only paint the contentsRect() when there's a background image - ie. the WA_OpaquePaintEvent flag seems to be set backwards.
Afaict there's also no setAutoFillBackground() for the display
::drawBackground() says "// The whole widget rectangle is filled by the background color from" but is used on "const QRegion regToDraw = pe->region() & cr;", maybe a later introduced optimization.
Despite the change coming from Qt I suspect Qt simply fixed a bug what exposed another bug in QTermWidget => https://github.com/lxqt/qtermwidget/issues
Offline