Bug 569959 - Javadoc and Declaration Views must show the content even if they are located in other Window than the Java Class
Summary: Javadoc and Declaration Views must show the content even if they are located ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.19   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-29 21:47 EST by Manuel Jordan CLA
Modified: 2020-12-30 09:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Jordan CLA 2020-12-29 21:47:20 EST
Hello Eclipse Developers

Having the IDE open with two Windows, primary and secondary, each one with its own Views opened.

Case 1:

In the Window (primary), having a java class opened and with the mouse's cursor located in some javadoc section, if I open the 'Javadoc' view it works. Both are in the same window.

Case 2:

From Case 1, if the 'Javadoc' view is detached it works yet. Both belong in the same window.

Case 3:

If in the Window (primary) is opened the java class and the mouse's cursor is located in some javadoc section, but if in the Window (secondary) is opened the 'Javadoc' view, it does not work, remains in blank. Why? Because both are not in the same window.

It happens with the 'Declaration' View too.

So, the new feature I ask for is that the 'Javadoc' and 'Declaration' views shows the content without matter if the Java class selected is in the same Window or not.

Reason of this post:

I have two monitors: in the primary monitor is located the Window (Primary) and in the secondary monitor is located the Window (Secondary), if the 'Javadoc' view is detached and is moved to the secondary monitor it overlaps the Window (secondary). Therefore the 'solution' was open the 'Javadoc' view in the Window (Secondary) but does not show the content. As mentioned in the Case 3.
Comment 1 Wim Jongman CLA 2020-12-30 08:18:59 EST
Hi Manuel, thanks for reporting. 

You describe the issue correctly. Every part (part=view or editor) belongs to a window, and selections are only propagated between parts in the same window. 

You are requesting a mechanism that lets a part listen to selections in all open windows.
Comment 2 Manuel Jordan CLA 2020-12-30 09:37:34 EST
Hello Wim

That's correct.

The problem would be if in the Window (Secondary) exists other Java Class opened and with a "Javadoc" View explicit opened for that class and Window.
If exists the same for the Window (Primary) - Java Class and its own "JavaDoc" View" - same Window, it would be override the "Javadoc" View in the Window (Secondary)

Therefore the current behavior should be keep it, but add a new option for "Preferences" such as: "Global mirror Views" it to solve my Case 3.

Thanks for your understanding

-Manuel
Comment 3 Manuel Jordan CLA 2020-12-30 09:42:46 EST
Hello Eclipse Developers

BTW I tried to do the following:

The "Javadoc" view detached from the Window (primary) to be re-atached into the Window (secondary), it is not possible. Only is possible to be re-atached into the original Window, in this case, the Primary.

-Manuel