46 Commits

Author SHA1 Message Date
Adria Martin 375dfafb5b chore: remove verbose comment 2026-04-10 19:02:07 +07:00
Adria Martin 093f3632d2 fix(notifications): show fallback icon instead of checkerboard for missing theme icons
When Qt cannot resolve a notification icon name (e.g. "audio-headset" from
Blueman) because the icon theme is not properly configured, the
IconImageProvider returns a purple/black checkerboard missingPixmap.

Check icon existence via ThemeIcons.iconExists() before returning the
image:// URI, so NImageRounded displays its fallback icon instead.
2026-04-10 16:35:48 +07:00
ayagmar ce8da4c514 fix(notifications): prefer default actions for window focus 2026-03-23 19:59:45 +01:00
Lysec 381444bc2c feat(notifications): add notification display rules
- block: skips the notification completely
- mute: does not play sound (played by noctalia), shows popup, adds to
history
- hide: no sound, no popup, still adds to history
2026-03-18 21:24:14 +01:00
nZo-sp 3394439328 Fix ignore sound for app without a name but with a desktopEntry defined 2026-03-18 15:25:09 +01:00
Lemmy 9d142fbaf3 refactor(notif): rename internals for clarity (popup vs history) 2026-03-12 11:00:50 -04:00
Lemmy 683e617447 fix(notif): fix re-entrant QML incubation crash in NotificationService 2026-03-12 10:47:31 -04:00
Alexander Nabokikh fa090313ec fix(1926): cache notification icons 2026-02-22 14:12:50 +01:00
Lysec ac76ccce31 SessionMenuEntrySettingsDialog: don't force modifier for keybind 2026-02-18 16:51:06 +01:00
Alexander Nabokikh 5cbcb0b602 fix(#1882): fix animations 2026-02-18 14:35:37 +01:00
Alexander Nabokikh 6303f01529 fix(#1882): resolve notification popup actions failing to invoke 2026-02-18 11:48:03 +01:00
tibssy 604f709ad6 fix(notifications): sanitize notification text by removing unknown tags so attribute noise doesn’t appear in rendered messages 2026-02-17 15:21:14 +00:00
tibssy e8b16a2d9a refactor(notifications): move markdown setting to history tab and improve history panel UI 2026-02-16 12:32:06 +00:00
tibssy 42ea6ee1e8 feat(notifications): add markdown sanitizer for notification history expansion to notification service 2026-02-16 12:32:06 +00:00
Lysec 070c3b523c Notification: properly display/escape html tags 2026-02-15 16:53:00 +01:00
Lemmy 5b3a0e8640 notification: removing the disconnect 2026-02-10 10:39:10 -05:00
Lemmy 3328beec86 notification: fixed warning introduced by previous "close on LMB" 2026-02-10 10:23:05 -05:00
Lysec 7089cbdc4a NotificationService: never add transient notification to history 2026-01-23 16:36:16 +01:00
Lysec 75637e3cb8 Toast: add slight delay for media toasts while scrolling through videos 2026-01-21 02:41:46 +01:00
Ly-sec dd55ae141d NotificationService: change media toast icons 2026-01-17 18:18:10 +01:00
Ly-sec f989465ce9 Toast: add media playback info option 2026-01-17 17:40:19 +01:00
Lemmy bec32a30e9 autofmt 2026-01-13 09:21:48 -05:00
Ly-sec 0bd22a2024 NotificationHistoryPanel: cleanup 2026-01-13 15:04:42 +01:00
Ly-sec 23834bb402 NotificationHistoryPanel: add notification actions 2026-01-13 15:04:13 +01:00
Mridul Agarwal 5aedcd3413 add functions to ipc and notification services to get history and dismiss notification 2026-01-08 14:44:14 +05:30
Lemmy f5bf54d46e autofmt 2026-01-03 09:11:27 -05:00
Lemmy 55d1cb9e03 Notification: trim action names to ensure fallback to default label 2026-01-02 23:54:29 -05:00
Lemmy c07ab79b5a autoformat 2025-12-25 17:56:33 -05:00
Lemmy 09671d1a2c Image Caching: full refactor base on ImageMagick and fallback to QML. Allows support for a lot more image formats. 2025-12-25 17:31:12 -05:00
Ly-sec 961f973051 NotificationTab: add urgency filter for history (implement #1146) 2025-12-25 01:58:33 +01:00
Ahmet Çetinkaya 2ca71c285e refactor(notification): reorder sound playback checks for better flow
Move the audio service mute check earlier in the notification sound
playback logic to prevent unnecessary processing when the system
is muted. Also reposition the rate limiting check to occur after
the initial availability and setting checks.
2025-12-09 10:44:47 +03:00
Ahmet Çetinkaya 73c0a9b550 fix(notification): move sound playback after do not disturb and performance mode check
Move the notification sound playback to occur after the do not disturb
and performance mode checks, ensuring sounds are not played when these
modes are active. This fixes the issue where notification sounds were
being played even when do not disturb mode was enabled.
2025-12-09 10:43:21 +03:00
Ly-sec 74cf71afd1 NotificationService: add default sound 2025-12-08 19:34:51 +01:00
Ahmet Çetinkaya c43fd88470 feat(notifications): add QtMultimedia availability check and UI feedback
Add SoundService.isAvailable property to detect QtMultimedia availability
at runtime and implement conditional UI rendering in notification settings
tab. When QtMultimedia is unavailable, show a warning message and hide
sound-related controls instead of crashing or showing broken UI.
2025-12-08 14:53:28 +03:00
Ahmet Çetinkaya 78b157f476 feat(notifications): improve exclude apps translations
- Update translations to emphasize "skip playing configured notification sound"
- Remove duplicate "exclude-apps" entries from all locale files
- Apply consistent meaning across all 10 supported languages
- Clarify that the feature skips user-configured sounds for apps with built-in audio

This provides better user understanding of the exclude apps functionality
that prevents double notification sounds.
2025-12-08 14:38:42 +03:00
Ahmet Çetinkaya a49f4501d0 feat(notifications): add sound settings and playback functionality
Add comprehensive sound configuration options for notifications including:
- Enable/disable notification sounds toggle
- Volume control slider
- Option to use separate sounds per priority level (low, normal, critical)
- File pickers for selecting sound files with support for common audio formats
- Implementation of sound playback in NotificationService
- Updated translations for all supported languages
- Settings version incremented to 26
2025-12-08 14:38:42 +03:00
ItsLemmy 486bd4208d Wayland: added names to 3 unnamed layers 2025-12-02 09:35:06 -05:00
ItsLemmy 5451985e48 Notifications: Only delete cached images that are in our cache directory 2025-11-29 17:52:34 -05:00
Ly-sec 0d6b70a4c1 IPC: notifications - add removeOldestHistory 2025-11-29 08:30:12 +01:00
Ly-sec 8eaa5cc034 Settings: migration for shellstate is now handled in Settings.qml 2025-11-22 15:40:53 +01:00
Ly-sec 83d1cbacc7 autofmt 2025-11-22 13:52:45 +01:00
Ly-sec 74ba883dd8 initial commit 2025-11-22 13:51:58 +01:00
ItsLemmy 3ff5b7639f Switched to qmlformat. 2025-11-16 17:07:03 -05:00
Ly-sec 5402ae32f5 Notification: make doNotDisturb non persistent (fixes #665) 2025-11-10 17:12:51 +01:00
ItsLemmy 141f971a1d Notifications: Fixed Toast when toggling DND 2025-11-10 10:03:12 -05:00
ItsLemmy 355271768c Services in subfolder + cleanup/fixes 2025-11-08 16:38:43 -05:00