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

bring player to the front on toolbar icon/album cover click #14

Closed
ccatterina opened this issue Oct 23, 2023 · 5 comments · Fixed by #111 or #113
Closed

bring player to the front on toolbar icon/album cover click #14

ccatterina opened this issue Oct 23, 2023 · 5 comments · Fixed by #111 or #113
Labels
enhancement New feature or request

Comments

@ccatterina
Copy link
Owner

ccatterina commented Oct 23, 2023

Bring the current player to the front when the toolbar icon is clicked. Datasource Raise operation should do the job.

UPDATE:
Open the media source when the user CTRL-Click the icon on the toolbar or when it click the on album cover in the maximized view.
suggested by @barisgirismen

@ccatterina ccatterina added the enhancement New feature or request label Oct 23, 2023
@ccatterina ccatterina changed the title Toolbar icon click bring player to the front bring player to the front on toolbar icon click Oct 23, 2023
@ccatterina ccatterina changed the title bring player to the front on toolbar icon click bring player to the front on toolbar icon/album cover click Nov 24, 2023
luisbocanegra added a commit to luisbocanegra/plasmusic-toolbar that referenced this issue Jul 5, 2024
@luisbocanegra
Copy link
Contributor

Started implementing this on #111 but have a couple of questions:

  • Should something here be configurable?
  • Should the cover have any hover/press feedback, maybe a small tooltip idk? Though for the cover on the panel it doesn't make much sense unless the Ctrl modifier is optional or such key press can be intercepted.

@ccatterina
Copy link
Owner Author

@luisbocanegra
First of all, thank you for working on this !

Should something here be configurable?

I would leave it unconfigurable for now

Should the cover have any hover/press feedback, maybe a small tooltip idk?

yes a little tooltip on the cover sounds like a good idea to me, maybe something like "Bring player to the front".

Though for the cover on the panel it doesn't make much sense unless the Ctrl modifier is optional or such key press can be intercepted.

I agree, maybe we should mention this feature somewhere in the Features section in the README. Otherwise there is no way for the user to know about this

Thanks again!

luisbocanegra added a commit to luisbocanegra/plasmusic-toolbar that referenced this issue Jul 7, 2024
luisbocanegra added a commit to luisbocanegra/plasmusic-toolbar that referenced this issue Jul 7, 2024
@luisbocanegra
Copy link
Contributor

luisbocanegra commented Jul 7, 2024

Added the tooltip to the full representation, added a secondary message in case a player can't be raised. Should I add some effect to the hovered image?

append-2024-07-06-234200

For the Ctrl+Click action I was thinking we can mention it in the default tooltip, sort of what the default Volume and other widgets do?

Also, could we intercept that in the whole widget and fallback to other actions when the modifier is not used or will that be an overkill? Edit: Considering #25 here

@ccatterina
Copy link
Owner Author

Added the tooltip to the full representation, added a secondary message in case a player can't be raised. Should I add some effect to the hovered image?

No, it's already fine without the effect IMO.

For the Ctrl+Click action I was thinking we can mention it in the default tooltip, sort of what the default Volume and other widgets do?

yeah, that's fine!

Also, could we intercept that in the whole widget and fallback to other actions when the modifier is not used or will that be an overkill?

Do you mean the whole panel widget (the compactRepresentation), right? It seems a great idea to me! If it's not a problem for you I would proceed like this.

Another little thing, could you rewrite the commit message in such a way that respect the convetional commit standard?
I use release-please which relies on convetional commit messages to automate changelog and releases creation.

luisbocanegra added a commit to luisbocanegra/plasmusic-toolbar that referenced this issue Jul 7, 2024
@luisbocanegra
Copy link
Contributor

luisbocanegra commented Jul 7, 2024

Do you mean the whole panel widget (the compactRepresentation), right?

Yes, added to latest revision, only thing is I couldn't find how to make the buttons below respond and had to fill them with mouseareas, is that okay?

append-2024-07-07-072629

Another little thing, could you rewrite the commit message in such a way that respect the convetional commit standard?

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants