Request for New Wayland Protocol to Improve Window Taskbar Progress Features
Hello everyone! The Window Taskbar Progress PR looks very well.
This pull request for GLFW introduces the following features:
- The
glfwSetWindowProgressIndicator()
function, which allows displaying the progress of an action in the dock or taskbar. - The
GLFW_PROGRESS_INDICATOR_DISABLED
value, which stops displaying the progress. - The
GLFW_PROGRESS_INDICATOR_INDETERMINATE
value, which displays the progress in an indeterminate state. On Windows, this cycles the progress from 0% to 100% repeatedly. - The
GLFW_PROGRESS_INDICATOR_NORMAL
value, which displays the user-defined progress status (0%-100%) on the taskbar. - The
GLFW_PROGRESS_INDICATOR_ERROR
value, which displays an error progress. - The
GLFW_PROGRESS_INDICATOR_PAUSED
value, which displays a paused progress.
Currently, on Linux, the Unity LauncherAPI is used via DBus. However, this API requires a valid application .desktop file with the same name as the executable. It seems that only KDE and the Unity desktop environment utilize this API.
If it would be possible to add a new protocol that could better implement these features?