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

[WIP] Fix bauhaus widgets interaction #32

Closed
wants to merge 9 commits into from
Closed

Conversation

aurelienpierre
Copy link
Collaborator

Fix #29

Make the "no color space" option use the embedded profile if any
1. remove an useless param commiting on button_pressed
that duplicated button_released,
2. remove param commiting on motion_notify, only update
the slider coordinate and redraw the widget
3. simplify the dragging event handling sequence
4. drag and drop as well as clicks trigger a params commit
and a pipeline recompute only on button_released
5. introduce a debug parameter "gui" printing the sequence
of bauhaus widget execution

Result : sliders feel snappier in GUI

TODO: continue with slider scrolling events and comboboxes
Wait for the final button release to update slider values, instead
of commiting on each motion_notifiy event. It saves
many intermediate pipeline recomputes.
1. remove support for curve callback,
incomplete, complicated, duplicated
and silently bugged (no support in
popups, but used only in 2 ashift for
parameters auto-set in most cases)

2. create an uniform slider setting function
from GUI, normalized with widget width

3. disambiguate the curront slider setting function,
normalized with range min/max, working
from parameter value
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 2 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 123 Code Smells

No Coverage information No Coverage information
3.2% 3.2% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@aurelienpierre
Copy link
Collaborator Author

Superseded by 48a86a9

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

Successfully merging this pull request may close these issues.

Redraw bauhaus widgets before updating preview
1 participant