Jin Liu (dc12e219) at 28 Mar 00:28
Apply 1 suggestion(s) to 1 file(s)
Jin Liu (240d33ce) at 27 Mar 12:51
Me neither. @felixernst suggested this.
See frameworks/kio!1558 (comment 889165)
We either use a whitelist here, then currently only "file" implements isWritable
. Or use a blacklist to exclude "recentlyused", "filenamesearch" and perhaps some others.
Jin Liu (46073b26) at 27 Mar 05:44
KUrlNavigator: allow adding a badge widget after the breadcrumb
Jin Liu (efe0e365) at 27 Mar 05:43
KUrlNavigator: allow adding a badge widget after the breadcrumb
Jin Liu (d3bc16e8) at 27 Mar 05:35
Change the opacity animation speed of systray item highlight
There are a lot of "opacity 0->1 InOutCubic/Quad" animations all over KDE:
https://github.com/search?q=org%3AKDE+opacity+AND+%28InOutCubic+OR+InOutQuad%29&type=code
Fixing them all would be quite a task.
Depends on: frameworks/kio!1597 Issue: #55
The intended use case is for Dolphin to show a lock icon in read-only dirs.
Jin Liu (49d2a289) at 27 Mar 04:21
KUrlNavigator: allow adding a badge widget after the breadcrumb
Jin Liu (b6844309) at 27 Mar 04:21
UrlNavigator: show a "lock" emblem for read-only dir
Now I think this code should be moved to Dolphin.
I did it in KIO thinking it might be used in more places than just Dolphin. But on close inspection:
So it seems the icon is only really useful in Dolphin.
So how about put an invisible placeholder widget there, and let Dolphin replace it with KUrlNavigator::setBadgeWidget(QWidget*)
?
Jin Liu (5312c8b0) at 27 Mar 01:51
Change the opacity animation speed of systray item highlight
You can manually cache the rendering result of SVG animation too. I think the main advantage of SVG animation is arbitrarily high framerate. While the main disadvantages are:
Interestingly, Hyprland is doing something similar: https://blog.vaxry.net/articles/2024-cursors
Differences to what I'm planning to do:
librsvg
for rendering, which doesn't support SVG animation. I plan to use SVG animation, which should produce smoother animation.In fact, QtSVG
seems to be the only library supporting animation, besides embedded browsers. So using SVG animation might become an obstacle in the distance future, when other compositors want to adopt our cursor format.
I'm pretty sure we can have a conversion tool between the two formats. Or we can just use Hyprland's without inventing our own.
I don't know. But seems we do have en_GB
mo files. Does that mean all text in code is in en_US
, and should follow American English conventions?
E.g. if the left view is ~/Desktop
, and the right view is ~/Desktop/bin
. Then I select "bin" in the left view and invoke CopyToOtherView. This is what my understanding of "copy ~/Desktop/bin into itself". Currently this succeeds with copy, and fails with move (with a little cryptic error message).
What the allNotTargetOrigin
checks is I'm not copying ~/Desktop/bin
to ~/Desktop
. Maybe the reason should say "copying items in a folder into the same folder is not possible"?