monday meeting notes for 19/2/2024
Kai Uwe Okular: Fix render glitches in presentation mode with fractional scaling under Wayland, please have a look: https://invent.kde.org/graphics/okular/-/merge_requests/927 Seems there’s some other things wrong in it during transitions (damage region? dunno) but at least the presentation itself looks ok now plasma-browser-integraton: Truncate excessively long URLs in download reporting (e.g. data URLs), https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/121 Plasma: Fixed Kickoff search broken, looks like a QTBUG but I haven’t been able to reproduce with a minimal example It fails to resolve some property type and then assignment fails :/ Add %j placeholder for Solid device action, needed by KIO AFC, please review: https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/121 Frameworks: KIO::iconNameForUrl strips slashes now before matching a standard path, fixes Dolphin’s tab bar not using the proper (e.g. Downloads) icon Qt: Been looking into supporting QSurfaceFormat for SHM (raster) windows Right now all Qt Wayland SHM windows are RGBA32, regardless of whether the app wants transparency or not. I want to at least alpha vs non-alpha (QSurfaceFormat is quite extensive), so we get an XRGB surface for e.g. WA_OpaquePaintEvent windows That’s most toplevel windows, except maybe context menus and tooltips All much more complicated thanks to stupid client-side decorations, as usual presentationwidget: Invalidate pixmaps on dpr change (!927) · Merge requests · Graphics / Okular · GitLab - GitLab Since the last rendered pixmap is usually reused, its device pixel ratio can end up different from the devicePixelRatioF() of the widget which is used for most size... Download Job: Truncate excessively long URLs (!121) · Merge requests · Plasma / Plasma Browser Integration · GitLab - GitLab Limit them to a reasonable length, and don't send data URLs at all since they aren't human-readable and typically very long. Modeled after what KIO does... Xaver: * mostly bugfixing ahead of the release, not gonna list it all * implemented direct scanout for the nested Wayland backend, which reduces latency and improves efficiency with fullscreen windows. More nested pass-through stuff might still come later * started fixing plasmashell dying when too many windows are open. KWayland is getting in the way though, so if anyone is more motivated than me to port shellcorona away from KWayland, that would be nice :) * added a workaround for Intel to not advertise HDR support by default, because the Intel driver is broken AF. So don't be surprised if the HDR option disappears on Intel hw... You can get it back with KWIN_DRM_ALLOW_INTEL_COLORSPACE=1 * implemented an experimental tag of the upstream color management protocol in KWin. If KWIN_ENABLE_XX_COLOR_MANAGEMENT=1 is set, it'll be exposed to apps, and you can start experimenting with it / implementing it in apps. There shouldn't be any major changes to the final upstream protocol when that's merged. Note that you'll also want to set KWIN_DRM_FORCE_COLOR_MANAGEMENT=1 if you do anything with alpha blending through Wayland, because otherwise it won't be correct [DavidE] wrt plasmashell and kwayland lets check what it's using it for and see if we can make some dedicated simpler API for that [Xaver] it's only about the active window. Adding a plasma window management event for that would make it simpler instead of all the tracking that KWayland does internally Nico: In terms of "are we ready?": There's ~500 bugreports tagged with 'qt6', which sounds scary but isn't really But I'd appreciate if eneryone went though the list and looked for important ones/blockers https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED_status=CONFIRMED_status=ASSIGNED_status=REOPENED=qt6_type=allwords_id=2616845_format=advanced Fushan Port many QString::split to QStringView::split, use efficient overloads. Many have been merged thanks to apol and alex, some awaiting approval, one regression found and fixed thanks to genericity. It's a simple change that can reduce hundreds of instructions :) https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/539 https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3925 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2043 (not mergeable because gcc11 doesn't fully support split_views) https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2044 Keep the context menu of a containment to work around a qtbug: https://invent.kde.org/plasma/libplasma/-/merge_requests/1061 Add screenFromQuickWindow in PanelView to fix a keyboard navigation problem: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3722 Be more heuristic in finding the associated desktop file for a window: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3932
Re: More 5.27 Releases
We discussed it at today's Plasma meeting and decided on Wednesday 6 March for Plasma 5.27.11 Jonathan
Fedora 39 KDE spin - Wayland session improvements - thanks and info on current experience
Dear KWin / Plasma Development team, I have been triaging bugs for KDE for some weeks, but as I have development experience in C++, C and other languages, I'm keen to get up to speed to be able to submit bugfixes too, in time. I've been using Fedora 39 KDE spin for learning Kirigami/QML and plan to move to KDE Frameworks with Qt this week or next week. As I'm not in a paid contract currently and don't have any hardware spare, nor the option to purchase, I'm running Fedora 39 KDE spin in a VM, namely under Boxes on Ubuntu 22.04, and Virtualbox on Win11. Prior to updating today, including kwin updates, Plasma under Wayland was unusable. The mouse pointer wasn't accurately placing, e.g. it seemed a bit off from where the output of typing was appearing, when running Kate, as the only app running, or when trying to click on a hyperlink or the address bar when running Firefox only. *The update I applied today has vastly improved my experience of Plasma under Wayland, and it is now usable. This is a huge relief because I understand Fedora 40 won't have an X11 session option at all. Huge thanks from me for all your hard work!* I was curious to see how far I needed to push Wayland before it might start misbehaving. It was pretty far lol! When I ran four apps, all tiled under Plasma, namely Firefox playing a YouTube video, Kate, Konsole and Java running Freeplane as a flatpak, I started to get weird mouse behaviour again: pointer disappearing, pointer changing based on its expected function, lagging from where it actually was on the screen. Also, I was getting some flickering on the bottom panel, though not making the panel unusable. I'm sending this for information's sake, and will happily submit bugs to Bugzilla under kwin, tagged with wayland, if I am able to replicate something specific and easily testable. Meantime, many thanks again, and have a great day :) Amir.