From: Vasili Novikov <vasilii.novikov@zivver.com>
To: git@vger.kernel.org
Subject: Re: Re: [PATCH] git-gui: allow closing console window with Escape
Date: Mon, 9 Dec 2019 16:53:22 +0100 [thread overview]
Message-ID: <1313cb5b-9d6a-f038-bda3-757b4e55bf33@zivver.com> (raw)
In-Reply-To: <nycvar.QRO.7.76.6.1912091014220.31080@tvgsbejvaqbjf.bet>
What have console windows to do with git gui though? I'd work under the
following assumptions:
* we're talking about a GUI window, not a TUI one
* the window has no useful information at all except the fact that
something has "finished", is "done". There are no actions that you can
take except to dismiss the window.
If we agree on the following assumptions, then I see these real-world
examples:
* Mousepad > About > Esc = closes the popup
* Firefox > About > Esc = closes the popup
* Thunar > select any file and ask its properties > Esc = closes the window
* file-roller (GNOME compressed archive manager) > Extract archive >
Observe success window upon completion > Esc = closes the window.
Are there any real-world examples where `Ctrl W` or `Esc D` work but
`Esc` doesn't, to consider these alternatives as more intuitive to users?
On 09/12/2019 10.18, Johannes Schindelin wrote:
> Hi Pratyush,
>
> On Mon, 9 Dec 2019, Pratyush Yadav wrote:
>
>> On 07/12/19 05:24PM, Johannes Schindelin wrote:
>>>
>>> On Sat, 7 Dec 2019, Pratyush Yadav wrote:
>>>
>>>> It is often expected that popup windows like the console window be
>>>> close-able with Esc.
>>>
>>> Seeing as the console windows is not your regular popup window with an
>>> "OK" button, I could see how it would be all too easy to close the window
>>> via the Esc button all too easily, annoying users.
>>
>> I'm not sure why it is "too easy" to hit Escape. If you're hitting Esc
>> (which for most people is pretty far from other more frequently used
>> keys) you expect _something_ to happen. People don't just spam Esc for
>> no reason, do they?
>
> Is it possible to issue a command in that console window? If yes, Esc D is
> what people like me would possibly use to delete entire words.
>
> Even if not, if there is no "OK" button, it would annoy me no end if the
> Escape key closes the window (it is not a dialog box, after all).
>
>>> For windows like the console one, I would expect Ctrl+W a much more
>>> natural keyboard shortcut to close it.
>>
>> But, that "something" the user expects to happen could also be "stop the
>> command". AFAIK, Esc is often expected to stop commands. But closing the
>> console window won't actually stop the command. It will keep running in
>> the background, and when the command is done, the window will open again
>> showing the final output.
>>
>> So all in all, I do think Ctrl-W would be a better idea. Will re-roll.
>
> Thank you,
> Dscho
>
--
Vasilii Novikov
Software Developer
vasilii.novikov@zivver.com
ZIVVER B.V. • Koningin Wilhelminaplein 30 • 1062 KR Amsterdam
www.zivver.com • +31 85 01 60 555 <+31-85-0160555>
Follow us on: twitter <https://twitter.com/zivver_nl>, facebook
<https://www.facebook.com/zivver> and linkedin
<https://www.linkedin.com/company/zivver>
✓ Voldoe jij al aan de GDPR-wetgeving?
<https://get.zivver.eu/nl/gdpr-checklist/>
next prev parent reply other threads:[~2019-12-09 15:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-06 22:20 [PATCH] git-gui: allow closing console window with Escape Pratyush Yadav
2019-12-07 16:24 ` Johannes Schindelin
2019-12-08 19:40 ` Pratyush Yadav
2019-12-09 9:18 ` Johannes Schindelin
2019-12-09 15:53 ` Vasili Novikov [this message]
2019-12-10 12:02 ` Pratyush Yadav
2019-12-10 12:11 ` Vasili Novikov
2019-12-10 13:31 ` Pratyush Yadav
2019-12-13 13:29 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313cb5b-9d6a-f038-bda3-757b4e55bf33@zivver.com \
--to=vasilii.novikov@zivver.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).