Code Monkey home page Code Monkey logo

Comments (11)

yuya-oc avatar yuya-oc commented on July 21, 2024 1

For example, when the app get focus by CMD + TAB, window does not appear. In that case, the shortcut is useful. OK.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

Step 3 is correct behavior. The main window appears again when clicking the Dock icon.

OS X: 10.11.3
electonr-mattermost: 1.0.7

from desktop.

frdmn avatar frdmn commented on July 21, 2024

@yuya-oc I agree, works for me as well. However it took me quite a long time to figure that out. Usually I just try to "recreate" the window again using "standard shortcuts" (CMD + N or by doing CMD + ⇥ twice)

(Same versions of OS X and electron-mattermost, btw 👍 )

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

Could you tell me about "standard shortcuts"? I checked Slack and Skype, but there are no such shortcuts.
Then, to handle the shortcut, the app have to get focus. How do you get focus for it from other window?

from desktop.

frdmn avatar frdmn commented on July 21, 2024

@yuya-oc You are totally right. For some reason I was certain that other applications, automatically redraw the window as soon as they regain focus.

However, in this case I would suggest we just implement a CMD + N, to provide a way to redisplay the main window in case it got closed somehow (clicking through red close button). Right now, the only way to fix this, is restarting electron-mattermost.

What do you tink? :)

from desktop.

teetrinkers avatar teetrinkers commented on July 21, 2024

There is a standard way to restore windows on OS X, but it is a bit awkward. I usually use CMD + H instead of closing the window with CMD + W.

http://apple.stackexchange.com/questions/55432/keyboard-shortcut-for-restoring-applications-from-the-mac-os-x-dock

from desktop.

frdmn avatar frdmn commented on July 21, 2024

@teetrinkers I'm not sure if I understand the reported issue on SO. Let's take mail app for example:

  1. Focus Mail.app
  2. Hit CMD + H to hide the window
  3. Use CMD + ⇥ once, to show the window again

But right now, this doesn't work for electron-mattermost. So once the window is closed/hidden, I HAVE to switch to the trackpad/mouse and click on the Dock icon to make it visible again or alternatively I restart the app completely.

from desktop.

teetrinkers avatar teetrinkers commented on July 21, 2024

There is a difference between hiding and closing a window. You hide a window using CMD + H. You close a window using CMD + W or the red close button.

This works for me:

  1. Focus electron-mattermost (1.0.7)
  2. Hit CMD + H to hide the window
  3. Use CMD + ⇥ once, to show the window again.

If, on the other hand, you close the window using the red close button, then CMD + ⇥ won't bring it back. This is the same for Mail.app. The stackexchange post shows a standard way to restore closed windows without using the mouse.

With some apps (e.g. Mail.app), you can restore closed windows using CMD + 1, but this is not a standard. I think CMD + N is usually used to create a new window (e.g. in Mail.app, this creates a new mail), so I propose we use CMD + 1 as well. Or just use CMD + H instead of closing the window ;)

from desktop.

frdmn avatar frdmn commented on July 21, 2024

This works for me: [...]

I was pretty certain that this didn't work for me earlier, but I just tried to record a screencast for you to show you the behaviour on my screen, but now I can't reproduce the way I mentioned in my previous comment anymore. Crud!

If, on the other hand, you close the window using the red close button, then CMD + ⇥ won't bring it back.

I assume that was exactly what I did earlier but instead I thought I've hit CMD + H.

The stackexchange post shows a standard way to restore closed windows without using the mouse.

Got it. Thanks for the explanation!

[...] so I propose we use CMD + 1 as well. Or just use CMD + H instead of closing the window

Makes sense and I'm totally fine with that! 👍

from desktop.

it33 avatar it33 commented on July 21, 2024

Hi @frdmn, per CMD +W thread, if this is important, can we have your help (or the help of someone from your team who wants the same feature) to open a feature idea? so this can be upvoted?

We have a new category for Mattermost Mac desktop app specifically, if this is a priority area for you, would love your help getting the conversations started.

from desktop.

mikaoelitiana avatar mikaoelitiana commented on July 21, 2024

Hello, I fixed a similar issue in Kitematic (electron based as well) docker/kitematic#702 and I can work on this if the feature is upvoted.

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.