Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with long sink/source names #65

Closed
terencode opened this issue Sep 19, 2019 · 6 comments
Closed

Deal with long sink/source names #65

terencode opened this issue Sep 19, 2019 · 6 comments

Comments

@terencode
Copy link
Contributor

When the sinks or sources have a long name, the menu just tries to fit the whole text and it results on very large menu:
gse-input-ouput-switcher

Three solutions I can think of:

  • Set a max character limit and replace anything after with '...'
  • Allow to rename the sinks/sources from the extension settings, but maybe it's better to do it from pulseaudio config files.
  • Keep the default menu size but make somehow the text slide from right to left.
@kgshank
Copy link
Owner

kgshank commented Sep 20, 2019

Added a new option to disable the behavior completely for now. I will see the feasibility of your suggestions. If possible test the current version from git

@terencode
Copy link
Contributor Author

Thanks, your current solution works and is at leas good enough for me.
Feel free to close if you do not improve it any further.

@terencode
Copy link
Contributor Author

Well uh actually I experience a weird behaviour where I get duplicate entries for both input and output

output

@kgshank
Copy link
Owner

kgshank commented Sep 23, 2019

This is a old behaviour, sometimes the extension is not signaled for removed devices. I am exploring options to avoid this

@kgshank
Copy link
Owner

kgshank commented Sep 23, 2019

#41 is not the same as this one, its a new bug. Please test with the current commit in git

@kgshank kgshank closed this as completed Sep 23, 2019
@kgshank kgshank reopened this Sep 23, 2019
@terencode
Copy link
Contributor Author

Can't reproduce anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants