8000 Eclipse 2025-03 Next Tab navigation broken with POM XML editor. · Issue #2864 · eclipse-platform/eclipse.platform.ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Eclipse 2025-03 Next Tab navigation broken with POM XML editor. #2864

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
garretwilson opened this issue Mar 27, 2025 · 6 comments
Open

Eclipse 2025-03 Next Tab navigation broken with POM XML editor. #2864

garretwilson opened this issue Mar 27, 2025 · 6 comments

Comments

@garretwilson
Copy link

This bug is occurring in Eclipse EE 2025-03 on Windows. (I haven't used Eclipse in over a year, so I don't know if it was introduced in an earlier version.)

Ctrl+PgUp is mapped to "Previous Tab", and Ctrl+PgDown is mapped to "Next Tab". This has been working for decades, allowing me to navigate among tabs as expected in the Eclipse IDE.

  1. In Eclipse EE 2025-03, open multiple files.
  2. Additionally open a Maven POM file. The POM editor shows tabs at the bottom: "Overview", "Dependencies", "Dependency Hierarchy", "Effective POM", and "pom.xml".
  3. Open one more file so that its file tab shows up after the POM file tab.
  4. Go back to the POM file tab and select the "pom.xml" POM view tab at the bottom. (I have this set up to the default.)
  5. Select Ctrl+PgUp to go to the previous file tab.
  6. The selected file is changed to the previous open file tab as expected.
  7. Go back to the POM file tab.
  8. Select Ctrl+PgDown to go to the next file tab.
  9. Rather than going to the next open file tab, the editor switches to the previous open file tab. (Additionally, if you manually return to the POM file tab, you'll see that the editor view has changed from "pom.xml" to "Dependencies".

As you can imagine, this completely breaks navigating among file tabs when one of them is a Maven POM file. Perhaps the editor view tab hotkey mapping is overriding the global Eclipse IDE file editor tab. In any case, it is a new bug.

@iloveeclipse
Copy link
Member

Wrong bug tracker, SDK doesn't provide POM file editors. You probably use one from m2e?
Please report this issue there if this is the case: https://github.com/eclipse-m2e

@iloveeclipse iloveeclipse closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2025
@garretwilson
Copy link
Author

Refiled as eclipse-m2e/m2e-core/issues/1970.

@castortech
Copy link

Wrong bug tracker, SDK doesn't provide POM file editors. You probably use one from m2e? Please report this issue there if this is the case: https://github.com/eclipse-m2e

I have the EXACT same issue with ecore files, starting also with 2503, is it a coincidence that m2e and emf would have the same issue?

@merks
Copy link
Contributor
merks commented Mar 28, 2025

No probably not a coincidence. Also given I've changed nothing in EMF's editors for several releases it's not likely a change in EMF.

If you folks can pick an editor that's provided by the Platform itself, e.g., the plugin manifest editor, and demonstrate the problem there, that would make it more obvious that the issue is simply that all multi-page editors work differently than before.

Can you try that an report back? A screen capture of the state IDE to make it easier for someone else to reproduce the problem would also help...

@merks
Copy link
Contributor
merks commented Mar 28, 2025

I'll reopen because I don't understand what these keys are doing but they don't appear to be doing something predictable or sensible to my thinking. Sometimes the tab of the multi-page editor changes, sometimes it doesn't, it behaves differently depending on whether there is an editor before and/or after the multi-page editor.

Image

Some Ctrl-PgDn changes the active tab:

Image

If it's the first editor the Ctrl-PgUp does nothing:

Image

The Ctrl-PgDown still cycles but changes the active tab.

@hugithordarson
Copy link
hugithordarson commented May 14, 2025

We have the same (or similar) issue in the WOLips plugin, here's an issue, including a video demonstrating it: wocommunity/wolips#194 .

Unfortunately I didn't catch the stack trace when the error was thrown — and it doesn't throw the error anymore (might have stopped that after I performed an in-app Eclipse update last night). Now experiencing the same unpredictable behaviour @merks describes, usually with the multi-tab editor jumping to some "subtab" of it's own, and navigation between the actual main tabs being botched.

Edit: Seeing the same behaviour in the latest integration build of 4.36

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

No branches or pull requests

5 participants
0