regression: Pitch slider no longer updates during drag

Bug #1283844 reported by Owen Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
Daniel Schürmann

Bug Description

The pitch slider should change pitch as it is being adjusted with the mouse. Currently in trunk the slider doesn't update until the mouse button is released.

Revision history for this message
Owen Williams (ywwg) wrote :

I mean, the pitch doesn't update until the mouse button is released.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

This is due to the new silent mode for the rate slider:

<Connection>
<ConfigKey>[Sampler1],rate</ConfigKey>
<EmitOnDownPress>false</EmitOnDownPress> <- this means, it emits inly on release only.
</Connection>

You can fix it by removing it.

It was requested here https://github.com/mixxxdj/mixxx/pull/179#issuecomment-35308856
and a result of the discussion in https://github.com/mixxxdj/mixxx/pull/179#discussion_r9884240

Maybe it was wrong.
Possible solutions:
1.) Fix all skins
2.) Remove the press release filter consideration from the (legacy) slider and inherit a new on which has the filters in place
3.) Introduce a new option <EmitOnMove>false</EmitOnMove>

What do you like most?

Revision history for this message
Owen Williams (ywwg) wrote :

To prevent breakage of existing skins, I prefer the <EmitOnMove>false</EmitOnMove> solution. I don't really understand RJ's use-case of adjusting something and then activating on release, but that seems like a much more unusual choice. Every hardware mixer in the world and every turntable/controller updates the pitch while the slider is being moved, and we shouldn't break old skins that assume that functionality.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : [Bug 1283844] Re: regression: Pitch slider no longer updates during drag

I agree that we shouldn't break existing skins. I didn't mean it should be
the default -- I simply meant it should be possible for the skinner. My
mistake for missing this in code review, sorry!

On Monday, February 24, 2014 9:20:48 PM, Owen Williams <email address hidden>
wrote:

> To prevent breakage of existing skins, I prefer the
> <EmitOnMove>false</EmitOnMove> solution. I don't really understand RJ's
> use-case of adjusting something and then activating on release, but that
> seems like a much more unusual choice. Every hardware mixer in the
> world and every turntable/controller updates the pitch while the slider
> is being moved, and we shouldn't break old skins that assume that
> functionality.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1283844
>
> Title:
> regression: Pitch slider no longer updates during drag
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1283844/+subscriptions
>

Revision history for this message
Owen Williams (ywwg) wrote :

I agree with the suggestion to add <EmitOnMove>false</EmitOnMove> to preserve existing behavior.

Revision history for this message
Owen Williams (ywwg) wrote :

er, I mean to offer the possibility of new behavior while preserving existing skins.

Changed in mixxx:
assignee: nobody → Daniel Schürmann (daschuer)
status: New → Confirmed
milestone: none → 1.12.0
importance: Undecided → High
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I have just introduced a new EMIT_ON_MOVE option.
https://github.com/daschuer/mixxx/pull/3
But while coding this, i have just noticed that this is not a solution for this issue.
1.11 skins are setting <EmitOnDownPress>false</EmitOnDownPress> = EMIT_ON_RELEASE for a unknown reason.
Since we omit the Widget default once an emit option is manually set this means EMIT_ON_RELEASE only.
Overwriting these settings will a solution for our current problem, but this will somehow disable the config options for advanced skinners as well.
So for now, I will bypass all Emit options in WSliderComposed and fix the undocumented
<EventWhileDrag>no</EventWhileDrag> instead. If required, we may later introduce a new WSliderComposedEx widget which respects the emit options.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

it seams that <EventWhileDrag>no</EventWhileDrag> does more than we can assume from the name. I think we need a discussion where to move with the slider. Maybe we can combine all features in one slider without a need for a new one and without braking old skins.
Since this bus is solved I will file a new one Bug #1284858

Revision history for this message
Daniel Schürmann (daschuer) wrote :
Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7325

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.