Closed Wittmaxi closed 3 weeks ago
Hello,
i have checked the code. It seems that the double click action has never been implemented in the structure compare view.
In the DiffTreeViewer in line 283 a mouse listener on tree which checks on the double click action and expands if possible should solve this.
eclipse.platform team\bundles\org.eclipse.compare\compare\org\eclipse\compare\structuremergeviewer\DiffTreeViewer.java
I will add a Pull Request in time.
Best regards, Denis
There is also a double click handler somewhere, which changes the compare editor "perspective" on the double clicked element.
It is also the question whether a combination of the currently working double click feature and the expand actions is desired.
Also in the project explorer double click can mean dependent on the element different things. Double click on a folder expands the folder and doulel click on a file opens the file.
So doing the same for the compare view is valid.
@BeckerWdf What is your opinion.
@BeckerWdf Hi Matthias, can you check the PR?
It works, but i don't know whether this position in the code is absolutly right to use.
this is implemented with https://github.com/eclipse-platform/eclipse.platform/pull/1493
Let's make sure issue is not already fixed in latest builds first.
Steps to reproduce
When double-clicking on a folder, the folder doesn't expand/collapse. Instead, I need to use the "drop-down"-arrow. I expected: the folder to open like in other views:
But got: nothing happened:
Tested under this environment:
Operating System Windows Eclipse version Build id: I20240416-0300
Community