Bug 528322 - A shortcut to minimze view stack
Summary: A shortcut to minimze view stack
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
Depends on:
Blocks:
 
Reported: 2017-12-08 08:07 EST by Mickael Istria CLA
Modified: 2018-05-10 10:21 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-12-08 08:07:27 EST
While chatting with an advanced user who also uses IntelliJ, he mentioned an interesting usability workflow in IJ that is hard to have with Eclipse IDE.
The workflow is basically to easily minimze a part (such as Git staging) and reopen it. So you can very easily give more space to the editor when you want to code, and get back to the view when you need it.
I think Eclipse IDE has most of the necessary things in place to better cover this workflow. What I think is the main missing point is a shortcut to minimize the active view part.

I would like to suggest Ctrl+Alt+C which is very easy to reach, and the 'C' can map in user mind to "Close" which is functionally similar to Minimize in that workflow.
Comment 1 Mickael Istria CLA 2017-12-08 08:08:11 EST
@Gautier: would you like to provide a patch for this one?
Comment 2 Andrey Loskutov CLA 2017-12-08 10:06:55 EST
Two things:
1) Most likely you want to minimize *view stack*, not just a view.
2) "Ctrl+Alt" modifier together should not be used, I can't recall where it is stated, but this is the rule.
Comment 3 Lars Vogel CLA 2017-12-08 10:31:08 EST
(In reply to Andrey Loskutov from comment #2)

> 2) "Ctrl+Alt" modifier together should not be used, I can't recall where it
> is stated, but this is the rule.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=427999#c47
Comment 4 Gautier de SAINT MARTIN LACAZE CLA 2017-12-08 10:58:17 EST
Hello, 


> 1) Most likely you want to minimize *view stack*, not just a view.
Andrey, I think you're right. I want to minimize the view stack and not only the view. 

I also want that all view stacks have the following behaviour :

If I open a view via ctrl+3 (i.e. Git Staging for commit), I want to show the view in the Original Location. I know there is an option in each view stack for this but I didn't find a global preference for "Show in the Original Location". 
I don't know how to store this globally and synchronize between my computers.


Andrey, Lars, thanks for the reminder about ctrl+alt modifier. It's not a problem for me or Mickael because we use fedora and a qwerty US keyboard, but indead, many people use other OS or keyboard layouts.

@Mickael, I am not available to provide a patch. I would like to work on eclipse-bluesky first.
Comment 5 Mickael Istria CLA 2017-12-10 06:16:22 EST
Indeed, I was thinking about the viewStack.
Too bad retarded OSs prevent is from using good shortcuts... could a Windows user (Andrey) make and try some proposals that aould integrate well in this user story?
Comment 6 Mickael Istria CLA 2018-01-29 10:31:27 EST
Moving to 4.8.M6 as it's an easy fix (once we have a good shortcut) with a good value.
Comment 7 Mickael Istria CLA 2018-03-12 09:46:31 EDT
Let's try to have a good shortcut for it in M7.
Comment 8 Mickael Istria CLA 2018-03-12 09:54:11 EDT
While this very valuable shortcut would deserve a 2 keys combination, the shortcuts in Eclipse IDE are almost all almost all used.
I suggest we use a sequence as a 1st approach: Shift+Alt+Q W . Shift+Alt+Q is the beginning shortcut to access the list of views, and W is used by many tools for close (on Ctrl+W). Semantically, this can be interepreted as "views" (Shift+Alt+Q) "close" (W) which is somehow what users want to achieve with such shortcut (except in practice we'll hide them instead of closing them, but I don't think users would mind).
WDYT?
Comment 9 Gautier de SAINT MARTIN LACAZE CLA 2018-03-12 11:01:27 EDT
@Mickael Because we can't use Ctrl+Alt modifier, I think your proposal makes sense. 

+1
Comment 10 Gautier de SAINT MARTIN LACAZE CLA 2018-03-12 11:04:36 EDT
But I have one question, for the open view scenario, what shortcut should we use for open the view ?

Should it be Alt + Shift + Q, Q and choose the needed view? Or ctrl+3 and find the needed view ?
Comment 11 Mickael Istria CLA 2018-03-12 11:41:10 EDT
(In reply to Gautier de SAINT MARTIN LACAZE from comment #10)
> But I have one question, for the open view scenario, what shortcut should we
> use for open the view ?
> Should it be Alt + Shift + Q, Q and choose the needed view? Or ctrl+3 and
> find the needed view ?

Both work and are supported. Alt+Shift+Q Q opens a dedicated dialog which allows to discover and browse views. But for users who know which view they want to open (or at least feel like they can guess a keyword), Ctrl+3 is much faster and more powerful.
In general, it's better to "evangelize" about Ctrl+3 as it's really a crazy good UX that allows to do a lot of things. Detailed shortcuts for sporadic actions are IMO not worth taking users' memory compared to going through the menu when needed.
Comment 12 Gautier de SAINT MARTIN LACAZE CLA 2018-03-12 12:43:05 EDT
> In general, it's better to "evangelize" about Ctrl+3 as it's really a crazy
> good UX that allows to do a lot of things. Detailed shortcuts for sporadic
> actions are IMO not worth taking users' memory compared to going through the
> menu when needed.

I agree.