aboutsummaryrefslogtreecommitdiff
path: root/TODO
blob: 9065eeaf3c9b02ec2a08088c8483a6917d1b5bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Capture stderr (ignore fps: 250) and show that in notification on error. Or redirect stderr to a temporary error file and save that file if recording failed and show where the error output was saved (~/gsr-error.log ?).
Make sure the resolution is allowed for streaming.
Add list of windows to select from. This makes it easier to select another window that is not in the view to be clickable.
Disable overclocking and show some kind of sign that overclocking is not possible (if coolbits not set).
Button (in the field) to remove hotkey.
Error if polkit agent is not running (pkexec --help may work but the agent might not be running anyways).
Fix gui crash on stop recording on sway.
Re-enable wlroots based capture when it's fixed.
Add translation support (using gettext, which uses .mo files and _ macro). It should be easy for non-devs to contribute.
    But how? maybe have a page that links to the english translation files (or translation directory) in git and give instructions,
    telling them to copy the file content and then send me the file by email with the language name (then I can add it to the correct)
    file with correct locale. Or if they know how to use git they can use that directly.
Add option to start replay on system startup (use the gpu screen recorder systemd file?) and use the settings from the replay page.
    Dont add this option if not running systemd, or disable the button then.
    Fix screen capture breaking after suspend/monitor change on nvidia x11.
    Add note about replaying can get bugged on suspend unless nvidia reg for suspend is added (because cuda breaks, nvidia driver bug).
    Detect suspend before it happens and unload cuda/nvenc then and reload after suspend. This is a workaround to nvidia driver bug that breaks cuda on suspend.
    Disable the gpu screen recorders aur/source package systemd service if enabled in the gui since these are two different services. Or make that service and gui service the same and work with the same (gui) config file.
Remove the need to install gpu screen recorder flatpak as system. This can now be done because of kms-server-proxy.
Implement profiles to quickly switch between settings.
Use https://hosted.weblate.org/ for translation.

Detect game name by using x11 window class or title. Fallback to finding pressure vessel, find the binary is runs and get the directory name directly under the proton game list directory. Fallback to pure wine.

Have separate options for each record option (stream, record and replay) or have option to use profiles. Remake the gui and have a proper overlay! on wlroots and kde use https://wayland.app/protocols/wlr-layer-shell-unstable-v1.

Add refresh button for audio devices. Put it beside the "add" button. In the new ui this should update automatically without a button.

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. 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.

Re-renable hotkeys on hyprland after it's fixed in the hyprland desktop portal. Or use hyprland specific protocol to do it ourselves, and it also works better.

Replay on startup should be its own page with its own settings for everything and should not allow enabling the feature unless global hotkeys can be enable.
    To make sure this works, create a separate program to handle global hotkeys with root access to make it work for every user and keys should be registered by requiring root access (every time its changed), with a confirm button.
    Or have a predefined set of keys that can be changed. Also have a key to show the gui.
    The replay on startup should be this gpu screen recorder gtk program but should launch a separate gui (in a different cpp file)
    and should be a single page with start/stop button and whatever. It should also show a systray similar to the default one but with only
    start/stop/save/exit button. The UI is needed for gnome users that dont have a systray!
    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.

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).