Repository navigation
island: open media and the power menu in one step - #3756
Conversation
|
When the player now opens immediately on clicking the visualizer, does that mean there is no way to switch between the player face and the clock face using the mouse anymore? |
|
Not with the mouse currently, no. That also fixes an issue I had that switching to the music face with mouse click then made the island bigger, resulting in my mouse hovering over the media and opening the island unintentionally. |
|
An idea I have is adding an action on right click to switch faces. This should then cancel the hover action of course. |
|
Actually a good idea, I like that. I'll either do it here tomorrow or as a follow up PR. Would definitely add customization for that too, this could be very useful when integrating more things into the island over time. |
|
Also swipe left / right / up (idk about bottom, that shuould probably just open the island) gestures for mobile |
- Clicking media on the home face opens the player. Closing a sheet goes back to the face the user picked, and an opt-in setting switches to media when playback starts. - The power menu can open in the island (Super+X, the dock button), with its own route row in the island settings. - An island collapses when another popout opens on its screen. - The widgets page hides the center section the island replaces. - Dragging or resizing a dashboard card no longer blanks the overview: Qt hands the committed list over as a non-array, which read as empty. - The island blur region stays inside the rounded fill.
b287243 to
649d266
Compare
|
Rebased onto master. The Otherwise, I like the updated options you chose, I'm on board! I think a right click like apollo mentioned would be cool here to quickly see the media compat again. |
|
/claude review |
Claude reviewNo issues found. |
Opening the player with one click removed the only mouse path from the home face to the media face. A right-click on the collapsed island now swaps between the two while media is available. The swap resizes the island under the pointer, so hover-open stays off until the pointer leaves. Without a face to swap to, the press is not accepted and reaches the bar's own right-click action as before.
|
Thanks for the rebase! I've reset my branch and dropped the dashboard fix. I added the right-click: right-clicking the island now switches between the home and media faces while something is playing. Hover-open stays off until the mouse leaves the island, so the island doesn't open by itself right after it resizes under the pointer. Without media there's nothing to switch to, so the right-click still goes to the bar's own right-click action like before. @apollo79 I kept it to the plain right-click here. Making the clicks configurable (double click, long press, opening a specific dash tab) and the swipe gestures sound great, but there's currently not many options and that would be a bigger addition to the settings I'd rather do separately once needed. |
|
/claude review |
Claude reviewNo issues found. |
Description
This PR fixes a handful of rough edges in the Dank Island and lets the power menu open in it.
I switched to the island this week and really like it, but a few things kept getting in my way. I like having the full music player in the island but disliked the media bar of the island, so switching to that and then opening the music screen by clicking again was unintuitive to me.
Bugs I found: editing the dashboard left the overview blank until I reset it, adding widgets to the bar's center did nothing, and the island stayed open on top of the tray menu.
Changes:
Notes:
The blur region reaches the compositor a frame or two ahead of the island it belongs to, so for a moment it's bigger than what's drawn. Quickshell sends it before the render thread commits that frame, and Hyprland applies it before the frame's buffer is ready. That needs fixes in both, which I'll try to get to soon.
Modules/. I tested it by hand.Validation
master.make lint-qml,run-qml.py logic qt lock, the node tests and all prek hooks pass.Type of change
Related issues
Closes #3696.
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings