Skip to content

Add backdrop.color to libf3d and a f3d option#2989

Open
PedroAbreuMaia wants to merge 27 commits intof3d-app:masterfrom
PedroAbreuMaia:Add-backdrop.color-libf3d-and-F3D-option
Open

Add backdrop.color to libf3d and a f3d option#2989
PedroAbreuMaia wants to merge 27 commits intof3d-app:masterfrom
PedroAbreuMaia:Add-backdrop.color-libf3d-and-F3D-option

Conversation

@PedroAbreuMaia
Copy link
Copy Markdown

@PedroAbreuMaia PedroAbreuMaia commented Mar 30, 2026

Describe your changes

  • Added libf3d option ui.backdrop.color option to control backdrop color.
  • Added a CLI option to control it --backdrop-color.
  • This option is set black by default.
  • Added new tests.

Issue ticket number and link if any

#2861

Checklist for finalizing the PR

  • I have performed a self-review of my code
  • I have added tests for new features and bugfixes
  • I have added documentation for new features
  • If it is a modifying the libf3d API, I have updated bindings
  • If it is a modifying the .github/workflows/versions.json, I have updated docker_timestamp

Continuous integration

Please write a comment to run CI, eg: \ci fast.
See here for more info.

@mwestphal mwestphal self-requested a review March 30, 2026 11:28
@mwestphal
Copy link
Copy Markdown
Member

thanks, ill review later today.

Comment thread library/src/window_impl.cxx Outdated
Comment thread vtkext/private/module/vtkF3DRenderer.cxx
Comment thread vtkext/private/module/vtkF3DRenderer.h Outdated
Comment thread vtkext/private/module/vtkF3DUIActor.cxx
Comment thread vtkext/private/module/vtkF3DUIActor.h
Comment thread vtkext/private/module/vtkF3DUIActor.h
Comment thread resources/cli-options.json
Comment thread library/options.json
Copy link
Copy Markdown
Member

@mwestphal mwestphal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes needed

PedroAbreuMaia and others added 7 commits March 31, 2026 11:12
applying the suggestion. By default ui.backdrop.color will allways have a value.

Co-authored-by: Mathieu Westphal <mwestphal.f3d@protonmail.com>
…D-option' into Add-backdrop.color-libf3d-and-F3D-option
…etBackdropOpacity. Also change BackdropColor and BackdropOpacity attributes.
@mwestphal
Copy link
Copy Markdown
Member

  • Please resolve discussions if you've adressed them, instead of commenting "Done" :)
  • Please avoid merging with master, instead use rebase, and only if needed.

Comment thread vtkext/private/module/vtkF3DUIActor.h Outdated
@mwestphal mwestphal marked this pull request as ready for review March 31, 2026 15:55
@mwestphal
Copy link
Copy Markdown
Member

\ci fast

Copy link
Copy Markdown
Member

@mwestphal mwestphal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last small change, I've also run CI :)

Co-authored-by: Mathieu Westphal <mwestphal.f3d@protonmail.com>
@mwestphal mwestphal self-requested a review March 31, 2026 16:01
@PedroAbreuMaia
Copy link
Copy Markdown
Author

\ci fast

Comment thread library/options.json Outdated
PedroAbreuMaia and others added 3 commits March 31, 2026 19:54
Co-authored-by: Mathieu Westphal <mwestphal.f3d@protonmail.com>
@PedroAbreuMaia PedroAbreuMaia requested a review from mwestphal April 2, 2026 13:48
Copy link
Copy Markdown
Member

@mwestphal mwestphal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, lets check CI

@mwestphal
Copy link
Copy Markdown
Member

\ci full

@mwestphal mwestphal self-requested a review April 3, 2026 05:58
Copy link
Copy Markdown
Member

@mwestphal mwestphal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is breaking many tests, it must be changing the default behavior of f3d, which we do not want. Please take a look :)

@mwestphal mwestphal self-requested a review April 5, 2026 06:44
Comment thread library/options.json Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.06%. Comparing base (ec08d8f) to head (faa5d02).
⚠️ Report is 45 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2989      +/-   ##
==========================================
- Coverage   97.17%   97.06%   -0.11%     
==========================================
  Files         210      208       -2     
  Lines       16754    16714      -40     
==========================================
- Hits        16281    16224      -57     
- Misses        473      490      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants