diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-22 18:45:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-22 18:45:49 +0200 |
commit | 462a3276cbf21231575c94de1482c44de703cf06 (patch) | |
tree | 1a7c9041c98156263cc525fb8453b70d5d3d6cb1 /TODO | |
parent | 42bfe1315be1a851434c4675a0c2c38863bb8e6c (diff) |
Hax: fix notification not showing on kde plasma when recording with desktop portal (kde doesn't allow this by default unless a config has been changed or notification is set as urgent)
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -28,7 +28,7 @@ Add refresh button for audio devices. Put it beside the "add" button. In the new Gray out monitor capture on intel if plane is compressed. Show the user to desktop portal capture instead. -Look at showmethekey https://github.com/AlynxZhou/showmethekey to see how to do global hotkeys without x11/wayland. +Look at showmethekey https://github.com/AlynxZhou/showmethekey to see how to do global hotkeys without x11/wayland. The password prompt for this can be removed by using polkit rules, this is how SwayOSD does it. A single flatpak can only be installed either system-wide or user, so there can be a check if it's installed system-wide or user and it will only match one. With this information we can guaranteed know the flatpak directory of the running gpu screen recorder instance. The command `flatpak info -l com.dec05eba.gpu_screen_recorder` can also be used and is available for all flatpak users. @@ -43,4 +43,7 @@ Replay on startup should be its own page with its own settings for everything an Maybe create gnome extension so that gnome users can see recording status, or mention to the user that it's a gnome limitation. The system startup program should work like the gpu screen recorder systemd daemon but start gpu screen recorder gtk with a special argument to launch it into this replay mode. The replay mode program should loop and launch gpu screen recorder, restarting it if it crashes. If it crashes show an error dialog to the user - and if hotkeys cant be registered then also show an error.
\ No newline at end of file + and if hotkeys cant be registered then also show an error. + +Notifications are not shown on kde plasma while using desktop portal capture (system-wide). This is a design choice by kde, see https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/screencast.cpp?ref_type=heads#L41 . The DoNotDisturb.WhenScreenSharing config controls this. This can be bypassed by making the notification critical. Maybe notifications should be set as critical? but only on kde. + Maybe we should create our own notification system with gtk layer shell (which is supported by every platform except gnome wayland).
\ No newline at end of file |