Skip to content

Add copy to clipboard#3056

Open
RealEdwardS wants to merge 15 commits into
f3d-app:masterfrom
RealEdwardS:add-copy-to-clipboard
Open

Add copy to clipboard#3056
RealEdwardS wants to merge 15 commits into
f3d-app:masterfrom
RealEdwardS:add-copy-to-clipboard

Conversation

@RealEdwardS

Copy link
Copy Markdown
Contributor

Describe your changes

Issue ticket number and link if any

#2305

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

AI Disclosure

  • I did not use AI to generate any of the content of that pull request
  • I used AI to generate code in that pull request, if yes please disclose which part of the code was generated and with which model.
  • ...

Continuous integration

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

@mwestphal mwestphal self-requested a review May 1, 2026 18:58

@mwestphal mwestphal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please feel free to request a review whenever needed ;)

@RealEdwardS

Copy link
Copy Markdown
Contributor Author

Can I run CI? I'm not entirely sure if I built/linked the clip library properly for all platforms

@mwestphal

Copy link
Copy Markdown
Member

Can I run CI? I'm not entirely sure if I built/linked the clip library properly for all platforms

Ha, we have a slight issue with the comment system at the moment, let me run it for you.

@RealEdwardS

Copy link
Copy Markdown
Contributor Author

looks like it was able to build properly, however, inside the clip library, there are type warnings that the compiler is treaing as errors. Do I modify the clip library in externals/clip to fix these errors?

@RealEdwardS RealEdwardS force-pushed the add-copy-to-clipboard branch from 39d2db7 to 86b9f2e Compare May 3, 2026 07:29
@mwestphal

Copy link
Copy Markdown
Member

looks like it was able to build properly, however, inside the clip library, there are type warnings that the compiler is treaing as errors. Do I modify the clip library in externals/clip to fix these errors?

If we modify clip we should send the patch upstream (open a PR in clip and discuss with maintainers).

If we cant do that for some reason, its better to disable to error when bulding this specific file.

@mwestphal mwestphal linked an issue May 28, 2026 that may be closed by this pull request
@mwestphal

Copy link
Copy Markdown
Member

need any help moving forward @RealEdwardS ?

@RealEdwardS RealEdwardS requested a review from a team as a code owner May 29, 2026 01:56
list(APPEND classes vtkF3DWebPReader)
endif()

if(F3D_MODULE_UI AND NOT F3D_USE_EXTERNAL_IMGUI)

@mwestphal mwestphal May 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Create your own F3D_USE_EXTERNAL_CLIP to handle imgui and clip separately

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

should clip still be part of F3D_MODULE_UI even if it's separate from imgui?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i dont think it should be part of F3D_MODULE_UI

Comment thread CMakeLists.txt
set(f3d_strict_build_compile_options /W4)
set(f3d_strict_build_link_options)
else()
set(f3d_strict_build_compile_options -Wall -Wextra -Wshadow -Woverloaded-virtual -Wno-deprecated -Wno-strict-overflow -Wno-array-bounds -Wunreachable-code -Wno-missing-field-initializers -Wno-unused-parameter -Wredundant-decls -Wpointer-arith -Werror)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see this is a temp commit to try and fix things, let me know if you need any help with that.

@mwestphal mwestphal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not done yet, let us know if you need guidance :)

@RealEdwardS RealEdwardS force-pushed the add-copy-to-clipboard branch from 1c6f325 to 08d6243 Compare May 31, 2026 08:43
@RealEdwardS RealEdwardS force-pushed the add-copy-to-clipboard branch from 67ac019 to 2d13bbe Compare May 31, 2026 14:14
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Style Checks CI failed:

@RealEdwardS

Copy link
Copy Markdown
Contributor Author

@mwestphal For Linux, the clip library requires the libx11-dev/libX11-devel package, how shall I go about installing this package?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a "Copy Console to clipboard" feature

2 participants