-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error while hovering over Maven artifacts / broken #820
Comments
I noticed that only LSP4E 0.17.1 seems to be included in Eclipse 2023-09 which seems quite outdated with 0.24.1 being the latest. |
In version 0.24.1 of the overall LSP4E release the main LSP4E bundle org.eclipse.lsp4e is correctly at 0.17.1. The debug bundle is 0.15.3 and the jdt one is 0.11.0. You can see all the bundles in the release in the download p2 site https://download.eclipse.org/lsp4e/releases/0.24.1/plugins/ The bundle versions are not updated when there is no change between releases, and when it is smaller changes only the last segment gets bumped. I'm not sure what the full rule LSP4E follows for version bumping and it is somewhat affected by LSP4J which does not quite follow semantic API versioning because we try to keep API matching the LSP spec which does not always map prefectly to Java. HTH. |
It more or less tries to follow https://wiki.eclipse.org/Version_Numbering |
It is rather confusing that the Eclipse plugin versions are different, but I understand the reasons. However, the problem is still active and I do recall the given action working in the recent past, on Eclipse 2023-06 with updates. Is something perhaps broken in more recent versions of LSP4E? Is there any information I could capture that could help you further? |
The issue seems to come from undelying browser integration. |
I have done this already but without any success. |
@eliasbalasis I suspect that you are using an old WebBrowser IE like IE 8 (see https://stackoverflow.com/questions/21899272/how-to-fix-window-getcomputedstyle-is-not-an-object-error) If you select an another WebBroser as default, which stacktrace do you have? I think you should not have a stack trace with IE:
@mickaelistria I think we should try/catch the evaluate of getComputedStyle, because forbid the show of the hover because margin cannot be computed correctly is very shame. |
The error is identical under any of the conditions I tested (after restarting Eclipse) Microsoft Edge, It seems to be using the "IE" variant regardless of choice. I am afraid this is very important to us, our Maven hierarchy cannot be studied efficiently and our developers will struggle heavily, reducing our productivity. It also makes Eclipse IDE useless to us, because we are stuck on a pre-built distribution of Eclipse 2021-03 which cannot be updated until all the bugs on all the relevant tools are fixed. Is there anything that can be done about this? |
It has been quite a while since last interaction. Is there anything we can do about this? |
In order to try Edge you have to follow the https://www.eclipse.org/swt/faq.php#howuseedge . Please try and get back to us as this doesn't sound like lsp4e but more like swt issue to me. |
Thanks @akurtakov I share the same suspicion. I will try your suggestion. |
This did not work with It did seem to be working with However, the link inside the pop-up is not opening. |
There is no way chromium would work as there is no such backend in SWT.
That's expected as more and more web stacks give on support for IE e.g. eclipse-platform/eclipse.platform.swt#840 .
That's probably one of the Edge integration bugs to be fixed. At least you should be one step ahead now (I hope). |
Thanks for tracing this back to SWT.
I think can use Ctrl+Click which seems to be pointing to the same target, |
SWT would not get fixed by itself :) |
Signed-off-by: Victor Rubezhny <[email protected]>
Issue: eclipse-lsp4e#820 Signed-off-by: Victor Rubezhny <[email protected]>
Issue: eclipse-lsp4e#820 Signed-off-by: Victor Rubezhny <[email protected]>
Issue: #820 Signed-off-by: Victor Rubezhny <[email protected]>
On Eclipse 2023-09 with m2e 2.4.0 |
Original issue by @eliasbalasis: eclipse-lemminx/lemminx-maven#513
On Eclipse 2023-09
hovering over any Maven artifact
has now stopped producing the desired popup.
The following error is produced in "Error Log" view
Session Data:
The text was updated successfully, but these errors were encountered: