Skip to content

fix: revert running libnotify actions asynchronously#135

Merged
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
Kishi85:revert-async-libnotify
May 23, 2026
Merged

fix: revert running libnotify actions asynchronously#135
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
Kishi85:revert-async-libnotify

Conversation

@Kishi85
Copy link
Copy Markdown

@Kishi85 Kishi85 commented May 23, 2026

Description

The late change to run libnotify show/close sync in #121 is causing crashing issues in Sunshine (due to Hang detected). Revert the specific commit until a reason to implement this properly without hangs/crashes is found. Everything is working without crashing when run without using a separate thread.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

This late change in LizardByte#121 is causing crashing issues so revert until a
reason this is necessary is found.

This reverts commit 35c353d.
@sonarqubecloud
Copy link
Copy Markdown

@Kishi85
Copy link
Copy Markdown
Author

Kishi85 commented May 23, 2026

@ReenigneArcher I've realized this just now while trying to switch streamed application on my TV. Must have slipped my testing earlier. Sorry for the inconvinience!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

❌ Patch coverage is 80.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.69%. Comparing base (35a6c4e) to head (60233d0).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/tray_linux.cpp 80.00% 1 Missing and 4 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
- Coverage   64.38%   63.69%   -0.70%     
==========================================
  Files           5        5              
  Lines         643      617      -26     
  Branches      209      199      -10     
==========================================
- Hits          414      393      -21     
+ Misses        153      150       -3     
+ Partials       76       74       -2     
Flag Coverage Δ
Linux-qt5 53.21% <80.00%> (-1.95%) ⬇️
Linux-qt6 53.21% <80.00%> (-1.95%) ⬇️
Windows 70.67% <ø> (ø)
macOS 56.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/tray_linux.cpp 62.18% <80.00%> (-3.34%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35a6c4e...60233d0. Read the comment docs.

@github-actions
Copy link
Copy Markdown

Last Updated 2026-05-23 14:29:39 UTC
Source Run CI Run #620
Commit 60233d0277b3e27ee6936f92fc2f2c573c24f521

Screenshot Comparison

PR #135 screenshots vs screenshots baseline.

Matrix: Linux-qt5

Image Baseline PR
tray_icon_initial.png
tray_icon_svg.png
tray_icon_themed.png
tray_menu_checkbox_checked.png
tray_menu_checkbox_unchecked.png
tray_menu_left_click.png
tray_menu_shown.png
tray_notification_displayed.png
tray_notification_themed_icon.png

Matrix: Linux-qt6

Image Baseline PR
tray_icon_initial.png
tray_icon_svg.png
tray_icon_themed.png
tray_menu_checkbox_checked.png
tray_menu_checkbox_unchecked.png
tray_menu_left_click.png
tray_menu_shown.png
tray_notification_displayed.png
tray_notification_themed_icon.png

Matrix: Windows

Image Baseline PR
tray_icon_initial.png
tray_menu_checkbox_checked.png
tray_menu_checkbox_unchecked.png
tray_menu_shown.png
tray_notification_displayed.png

Matrix: macOS

Image Baseline PR
tray_icon_initial.png
tray_menu_checkbox_checked.png
tray_menu_checkbox_unchecked.png
tray_menu_shown.png
tray_notification_displayed.png

@ReenigneArcher ReenigneArcher merged commit 6332649 into LizardByte:master May 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants