Bug 472619

Summary: Make perspectives aware of available space / geometry / monitors
Product: [Eclipse Project] Platform Reporter: Stephan Herrmann <stephan.herrmann>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, gautier.desaintmartinlacaze, iaptekar
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Stephan Herrmann CLA 2015-07-14 09:15:25 EDT
With multiple monitors being a common setup for many people, perspectives are less useful when the configuration of monitors is changed.

Example: in the office I have two large monitors attached to a notebook. I configure perspectives to leverage the space on both monitors. When travelling both monitors are disconnected and I'm left with the single smaller notebook display.

I seem to have two options:

(1) modify the built-in perspectives, resulting in layouts that are unusable when using the notebook standalone (in addition to changes in size I can only work with one of two windows at a time).

(2) create new perspectives for the dual monitor setting, but then actions like break point hit during debugging or Team > Synchronize will open the wrong perspective in one of the two environments.

I imagine that ideally perspectives would support variants per geometry, so I can configure different layouts for - say - Debug, depending on the monitors attached. Perhaps this could be achieved without any new options/buttons: just let "Save Perspective As..." store layout modifications only for the current geometry.

Additionally, such feature would allow to ship eclipse with different perspective layouts for single vs. dual monitor layouts etc, thus resolving some contention about preferred layouts. We'd just need to decide what are the "patterns" of geometry used for matching default layouts against the actual geometry: only match the number of monitors? Match small vs. large screens? Match wide screen vs. 4:5?


This is also related to the "Presentation Mode" that was temporarily available during 4.5 milestones.
Comment 1 Igor Aptekar CLA 2017-09-26 10:26:59 EDT
I agree with this. I think it's time it was possible to save and load different perspective configurations, allowing us to better organize our views depending on our monitor configurations.

Ideally we could even share the different configurations, and have a way of enabling different configurations automatically when our monitor set up changes.