GithubHelp home page GithubHelp logo

Comments (8)

ArTiSTiX avatar ArTiSTiX commented on June 2, 2024

Hello @gotthehot,

In the task manager (Ctrl+Alt+Esc), there should be a tab about startup apps. If you add a column (by right clicking the table headers), you can see the command line of the startup apps.
Can you confirm the command line for MIDI Jar is something like
C:\Users\<your user>\AppData\Local\Programs\midi-jar\MIDI Jar.exe" --openAsHidden ?
If not this is expected that it won't open as hidden.

Can you try toggling off and on the "Launch at startup" switch in the settings (sounds like an IT joke :p) ?
I suspect there is a regression due to a fix i made a while ago for MacOS, but since I never changed this toggle on Windows, might have broken something.

from midi-jar.

gotthehot avatar gotthehot commented on June 2, 2024

There is no option --openAsHidden in command line:

midi-jar-minimize

Toggled both options to OFF - quit midi-jar - then ON but app still appears on startup and no changes in command line.

from midi-jar.

ArTiSTiX avatar ArTiSTiX commented on June 2, 2024

Thanks @gotthehot for the bug report, this is indeed something not working as expected.

I will publish a patch soon, but i would like to pack it with other bug fixes if any, so i'll delay it.

Until the next patch version, i suggest to simply turn off then on the "Launch at startup" setting, that should fix the issue.

If you can confirm this fix is working, it will make sure that the patched version will not have the issue.

from midi-jar.

ArTiSTiX avatar ArTiSTiX commented on June 2, 2024

@gotthehot humm, so toggling off n on the "Launch at startup" did not have any effect on the --openAsHidden argument ?

I have no idea why, and i cannot reproduce it (i'm working on Win10 Pro too).

But correct me if i'm wrong, it looks like the screenshot you posted is from the Processes tab of the task manager, no the Startup tab.

If midi jar is running and not killed, the processes tab will show ho you started midi jar (supposedly like any other app).
But the Startup command line should run with the --openAsHidden to ensure first launch does not open any window.

The buggy part is only that the "Start minimized" toggle is not refreshing the command line, but Launch at Startup should correctly recreate the system startup entry.

from midi-jar.

gotthehot avatar gotthehot commented on June 2, 2024

Screenshot I've made was from Startup tab, not from Processes.

Just investigated in real time:

  • when "Start minimized" is ON turning "Launch on startup" ON adds --openAsHidden option to command line. As expected.
  • after repeatedly turning "Start minimized" OFF then ON it's not adding --openAsHidden option to command line anymore. That seems a bug.
  • when both "Launch on startup" and "Start minimized" options are OFF sequential turning "Launch on startup" and then "Start minimized" do not adds --openAsHidden option. That seems a bug.

So the only way to get midi-jar 1.6.1 to minimize at startup is the sequence:

  1. Launch at startup to OFF
  2. Start minimized to ON
  3. Then turn Launch at startup to ON and here it is:

minimized-option

from midi-jar.

ArTiSTiX avatar ArTiSTiX commented on June 2, 2024

@gotthehot I confirm this is the current behaviour, and it will be fixed in the next version.

Do not hesitate to report if, even with the argument is correctly set, you notice midi jar to show up at startup, because this is the most annoying behaviour that could happen (i personally hate that loopmidi is showing up and that there is no way to get around this, i wish loopmidi was open source so that i could include it in midi jar directly).

EDIT: actually i'm stupid, it's in the taskbar contextual menu of loopmidi... you can start it minimized ><

from midi-jar.

gotthehot avatar gotthehot commented on June 2, 2024

Just checked: when argument --openAsHidden is present midi-jar starts minimized as intended.

As for loopmidi thats my story too :) It takes some time for a user to find "start minimized" option it tray icon menu.

from midi-jar.

ArTiSTiX avatar ArTiSTiX commented on June 2, 2024

Hello @gotthehot,

I published the 1.6.2 which patches this bug.
Thanks for the report !

from midi-jar.

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.