Skip to content

Fix empty "Applications" tab#299

Merged
ryonakano merged 1 commit into
elementary:mainfrom
flodavid:fix-apps-not-shown
Feb 15, 2026
Merged

Fix empty "Applications" tab#299
ryonakano merged 1 commit into
elementary:mainfrom
flodavid:fix-apps-not-shown

Conversation

@flodavid
Copy link
Copy Markdown
Contributor

@flodavid flodavid commented Feb 7, 2026

I tested by first reverting #280 and reproducing the crash it prevented by connecting a smartphone. Then I handled the absent application name inside from_sink_input_info(). Doing this prevents the crash and allows to show devices as "applications".

Result:
image

Comment thread src/PulseAudioManager.vala Outdated
- Fixes #290
- Was introducted by #280
  - Skipped application when PROP_APPLICATION_ID was absent, which never seems to be set
  - Skipped application when PROP_APPLICATION_NAME was absent.
  It was because from_sink_input_info() previously did not handle it
- Add "Bluetooth Device", "Device" or "Unknown" entry depending on input properties
@flodavid flodavid force-pushed the fix-apps-not-shown branch 2 times, most recently from caa70f3 to dbaae94 Compare February 8, 2026 20:56
@flodavid
Copy link
Copy Markdown
Contributor Author

flodavid commented Feb 8, 2026

I also fixed the default position for the toggles:
image

@ryonakano
Copy link
Copy Markdown
Member

I also fixed the default position for the toggles:

Is this another issue? Would you open a separate PR if so?

@flodavid
Copy link
Copy Markdown
Contributor Author

Yes it is another issue, but since applications did not appear, it was not visible, so I thought I could include it as well, but a can make a separate PR

@flodavid
Copy link
Copy Markdown
Contributor Author

@ryonakano moved the commit to #300

@flodavid flodavid requested a review from ryonakano February 14, 2026 00:16
Copy link
Copy Markdown
Member

@ryonakano ryonakano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected. Thanks!

@ryonakano ryonakano merged commit 58640c9 into elementary:main Feb 15, 2026
4 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.

Applications "emitting sounds" not detected

2 participants