Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide possibility to auto-start nitrokey-app minimized or in systray #349

Closed
Polynomial-C opened this issue Apr 17, 2018 · 9 comments
Milestone

Comments

@Polynomial-C
Copy link

[Please fill in below details as much as possible and remove this line and other unneded data. Please provide more details for issues occurring less often.]

  • Application version: [e.g. v1.1 - it is shown in About window]
    1.3
  • Operating system: [name, version, 32/64 bits, kernel version (if Linux) ]
    Gentoo GNU/Linux 64bit kernel-4.14.34
  • Device model and firmware version: [Pro v0.8/Storage v0.45 etc.]
    Nitrokey-Pro
  • Connected USB port type: [1.1/2.0/3.0]
    2.0/3.0
  • Issue occurrency: [always/sometimes/once]
    always

Expected behaviour

When logging into KDE, nitrokey-app should start itself in systray (like in previous versions)

Current behaviour

When logging into KDE, nitrokey-app window pops up

Steps for reproduction

Log into KDE (KF5 in my case), start nitrokey-app, save KDE session, logout, re-login

Preconditions

none

Steps

  1. Log into KDE (KF5 in my case)
  2. start nitrokey-app
  3. save KDE session (can be configured to happen on logout)
  4. logout
  5. re-login

Logs

Logs attached:

@oderwat
Copy link

oderwat commented Apr 17, 2018

Same on OS X (see #343). I don't know why this was changed but I doubt that it got enough thinking.

@alex-nitrokey
Copy link
Contributor

On the one hand it was necessary to have a main window for the App (see changes in Gnome #274 ) and on the other hand there were many users who had problem with "the App not starting", because they did not recognized it in system tray.
IMHO it is a good idea to let a full featured window start. It is still a legit proposal to have a option to start in system tray though. Let's see what @szszszsz says about it...

@szszszsz
Copy link
Member

These were precisely the reasons. App earlier had no main window hence it had nothing to show on start. Sure, there is no problem with adding such option to settings, so the App will execute minimized, but on the very first run will always show up.

@oderwat
Copy link

oderwat commented Apr 19, 2018

On Mac there is still a difference between running in the "tray" and running in the "dock". So please make sure that, if you add an option for that, there is also a way to get rid of the dock icon. It is pretty annoying to have a background program sitting in the dock and the "tray" all the time.

@szszszsz szszszsz added this to the 1.4 milestone May 4, 2018
@VanNostrand
Copy link

How is the autostart implemented anyways? Yesterday I had two instances of nitrokey-app running, today I have three instances runnig when my plasma session starts.

@VanNostrand
Copy link

yeah, rebooted my PC and now I have 4 instances of nitrokey-app running

@alex-nitrokey
Copy link
Contributor

This reminds me of this...

I think it's something about Plasma, but I couldn't work it out in the past 🤔

@szszszsz
Copy link
Member

Hi @VanNostrand !
That is a different kind of issue and not related to Nitrokey App - it has no autostart-related functionality at all. My guess is, you are saving the session on window manager closing and all apps working then are restored and new instance of Nitrokey App is called. You need to ask on related forum/discussion list about that. Perhaps linked by @alex-nitrokey topic will give you some insight.

@heikojansen
Copy link

+1 for adding an option to show no window when auto-starting on login.
It's quite annoying that one always needs to manually close the window.

KaiHa added a commit to KaiHa/nitrokey-app that referenced this issue Sep 15, 2018
If the option --no-window is given the MainWindow is closed
immediately after it is shown. I have found no better solution for this.
KaiHa added a commit to KaiHa/nitrokey-app that referenced this issue Sep 15, 2018
If the option --no-window is given the MainWindow is closed
immediately after it is shown. I have found no better solution for this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants