Skip to content

Enable dropping files onto labels containing ImageView in the workbench #3102

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

elsazac
Copy link
Member

@elsazac elsazac commented Jul 10, 2025

Dropping a file onto the top of an image wasn't possible on a label containing an imageView. The issue was previously fixed via eclipse-platform/eclipse.platform.swt#649. However, in the workbench image, dropping was yet to be configured.

The issue is now resolved by calling a DropTarget on the shell obtained from the active IWorkbenchWindow.

Fixes :eclipse-platform/eclipse.platform.swt#649

@elsazac elsazac force-pushed the workbenchImageFix branch from da2be69 to f3dd5c6 Compare July 10, 2025 13:12
@elsazac elsazac changed the title Enable dropping files onto images containing labels in the workbench Enable dropping files onto labels containing ImageView in the workbench Jul 10, 2025
Copy link
Contributor

github-actions bot commented Jul 10, 2025

Test Results

 2 778 files  ±0   2 778 suites  ±0   1h 51m 39s ⏱️ + 6m 14s
 7 932 tests ±0   7 702 ✅  - 2  228 💤 ±0  2 ❌ +2 
23 351 runs  ±0  22 599 ✅  - 6  746 💤 ±0  6 ❌ +6 

For more details on these failures, see this check.

Results for commit 7cd49ec. ± Comparison against base commit 6c10cbf.

♻️ This comment has been updated with latest results.

@elsazac elsazac force-pushed the workbenchImageFix branch 9 times, most recently from cec03f2 to 7f03468 Compare July 18, 2025 07:38
elsazac added 4 commits July 18, 2025 13:08
containing an imageView.The issue was previously fixed via
eclipse-platform/eclipse.platform.swt#649.
However, in the workbench, dropping onto the image still didn’t work.

The issue is now resolved by calling a DropTarget on the shell obtained
from the active IWorkbenchWindow.
@elsazac elsazac force-pushed the workbenchImageFix branch from 7f03468 to 7cd49ec Compare July 18, 2025 07:38
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.

1 participant