Skip to content

Add support to change the volume scrolling on the volume icon#959

Draft
tglman wants to merge 1 commit intoJakeStanger:masterfrom
tglman:WIP_scroll_volume_change
Draft

Add support to change the volume scrolling on the volume icon#959
tglman wants to merge 1 commit intoJakeStanger:masterfrom
tglman:WIP_scroll_volume_change

Conversation

@tglman
Copy link
Contributor

@tglman tglman commented May 6, 2025

Hi,

This add the ability to turn up and down the volume simply scrolling on the volume icon.

it works now but it's still a bit of a work in progress.

I do not have hardware(for another month) to test scroll with a mouse wheel, I think in that case I need to add a - for some events, that's why there are two different event signals up and down, otherwise would be enough one change (maybe still can be simplified to only one event).

Also I saw the WIP migration of GTK4, maybe is easier to way that the migration is done and then rework this on top of that.

Just opening this to make this feature public, even if not yet mainstream.

@JakeStanger JakeStanger added M:Volume Related to the Volume module T:Module Enhancement Improvements to an existing module. A:UX/UI Relating to user experience or interface. labels May 7, 2025
@JakeStanger JakeStanger force-pushed the WIP_scroll_volume_change branch from e45d368 to 580b24e Compare August 22, 2025 21:01
@JakeStanger
Copy link
Owner

Rebased onto latest master.

Currently there's a bug using the mouse wheel, where if you scroll too fast it can crash the client, and take down Ironbar with it:

Assertion '*_head == _item' failed at ../pulseaudio/src/pulse/operation.c:85, function operation_unlink(). Aborting.

Process finished with exit code 134 (interrupted by signal 6:SIGABRT)

I'm going to convert this to a draft PR for now

@JakeStanger JakeStanger marked this pull request as draft August 22, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A:UX/UI Relating to user experience or interface. M:Volume Related to the Volume module T:Module Enhancement Improvements to an existing module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants