this post was submitted on 03 Mar 2024
69 points (97.3% liked)
KDE
5287 readers
197 users here now
KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDEβs software runs on GNU/Linux, BSD and other operating systems, including Windows.
Plasma 6 Bugs
If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.
If it hasn't, report it yourself.
PLEASE THINK CAREFULLY BEFORE POSTING HERE.
Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@Mehrad @[email protected] @[email protected] Doesn't really work for me. Sometimes, a random arror appears that point nowhere near the mouse cursor position and most of the times, just nothing happens. π
@Larvitz
Basically this is the chuck of code responsible which is how I figured out how to draw an arrow:
https://github.com/KDE/kde-workspace/blob/257b997132217fd73a1b3be14db49735b64235e7/kwin/effects/mousemark/mousemark.cpp#L204-L214
I also don't see any part in the code that can throw the error. Considering that this is such a simple code and have not changed for about a decade, I don't think the issue is wayland/x11 either.
I suggest filing a bug report with the screenshot of the error and etc.:
https://bugs.kde.org/buglist.cgi?quicksearch=mousemark&list_id=2631036
@[email protected] @[email protected]
@Larvitz
It seems the Github mirror is way out of date. I checked the https://invent.kde.org (the KDE's Gitlab instance) and found out that during the past 6 months MouseMark has received some updates, especially about the logic of arrow drawing:
https://invent.kde.org/plasma/kwin/-/commit/46807b1a72f1d760b52b92a574face4a7a509a39
But as far as I can tell, even if you have the latest build from the latest source code, the general process of drawing is the same:
https://invent.kde.org/plasma/kwin/-/blob/master/src/plugins/mousemark/mousemark.cpp#L178-192
@[email protected] @[email protected]
@Mehrad @[email protected] @[email protected] On my Desktop computer, running Arch Linux with Plasma 6.0.0, it works correctly. On my laptop with Fedora 39 and Plasma 5.27.10, it is bugged and doesn't work properly (Both running under Wayland).
Anyway, a great feature! Thank you very much for pointing it out.