Commit graph

8 commits

Author SHA1 Message Date
dcog989
15f31a1698 Bookmark plugin quick fix
Catch an exception for empty / corrupted favicons.
2025-09-12 22:34:03 +01:00
Jeremy Wu
e1cc50c579 Merge remote-tracking branch 'origin/master' into resolve_conflicts 2025-08-31 17:53:21 +10:00
Jack Ye
7084d5a558
Merge branch 'dev' into Fix-'100%-CPU'-BrowserBookmark-issue 2025-07-27 13:04:50 +01:00
Jack251970
19f37f4c3a Add code comments 2025-07-14 09:01:59 +08:00
dcog989
78b4c7db85 Fix BrowserBookmark '100% CPU' issue
# Fix BrowserBookmark plugin locking threads at 100% CPU

The following files were modified to implement this fix:

1. /Flow.Launcher.Plugin.BrowserBookmark.csproj
    - packages SkiaSharp and Svg.Skia added to output WEBP

2. /Helper/FaviconHelper.cs
    - new method, TryConvertToWebp, added to take any image data and encode to WEBP

3. /FirefoxBookmarkLoader.cs
    - LoadFaviconsFromDb to use the new helper which ensures only safe WEBP files are used by the UI, which resolves the CPU-locking. It was GZIPped SVGs that were causing the thread / CPU lock.
2025-07-14 00:43:39 +01:00
Jack251970
1b05643b64 Use Flow.Launcher.Localization to improve code quality 2025-06-23 12:38:27 +08:00
Jeremy Wu
7ae91b1af3
Release 1.20.1 | Plugin 4.6.0 (#3706) 2025-06-14 13:45:30 +03:00
Jack251970
d7b8f85f4a Use FaviconHelper 2025-06-08 12:35:39 +08:00