Ripcord Dev Logo Ripcord Development — View Ticket Login or Create Account
Ticket UUID: 70ae3d40933229500b5f539a66d16f96ff23869a
Title: Show main window when Ripcord is launched twice
Status: Open Type: Feature_Request
Severity: Priority:
Subsystem: General Resolution:
Last Modified: 2020-10-07 07:52:08
Version Found In: 0.4.26
arha2020-10-07 07:52:08

When launching Ripcord a second time, it shows a (rather pointless and non-hideable) message that says launching Ripcord twice causes problems.

A much nicer alternative would be to maximize and focus the running Ripcord instance - this feature exists in a multitude of desktop programs as a setting called "allow only a single instance"; disabling this option could toggle the old behavior and popup message. Telegram, WA (sadly, another electron app), XChat and as far as I remember, Pidgin, do this and prefer showing the running instance.

This option is preferable to the current behavior because it allows a variety of launchers and automations to behave nicely:

  • Launching from the windows 10 start menu (when a shortcut is included in %AppData%\Microsoft\Windows\Start Menu\Programs Ripcord can be launched from there). Hopefully one day there will be a windows installer
  • Launching from a third party launcher: I use launchy
  • Dumb automation tools like Razer Synapse - a "launch program" macro simple relaunches the same image multiple times
  • Smart automation tools like Autohotkey could solve this on their own (if ripcord is running, find pid, maximize else launch ripcord) but making this change would not interfere with existing scripts
  • People running a variety of chorders, keyers and secondary keyboards as launchers usually dedicate a button for an app and rely on muscle memory to launch the app. Enabling this feature would allow them to map a dedicated key for Ripcord easily.

There seems to be some Qt support about it and it can even play nice with multiple secondary instances - either to detect the running instance or allow a secondary instance in a programatic way (for example, as a development version or running on a secondary config file)