TRex icon indicating copy to clipboard operation
TRex copied to clipboard

Settings window appears at startup when "Start at Login" option enabled on Sequoia

Open tosbaha opened this issue 1 year ago • 17 comments

Previously, the application would start in the background when the "Start at Login" option was enabled. However, after the Sequoia update, enabling this option causes the settings window to always appear automatically when the computer starts.

tosbaha avatar Aug 14 '24 12:08 tosbaha

Thanks for reporting. I see this as well. I will look into it when I confirm that this is not a bug in the BETA OS.

melonamin avatar Aug 17 '24 14:08 melonamin

+1 on this bug. I also cannot seem to close the settings menu without closing the app all together.

ecthelionvi avatar Sep 17 '24 02:09 ecthelionvi

I also cannot seem to close the settings menu without closing the app all together.

Now, that's is weird. Can you confirm?

melonamin avatar Sep 17 '24 09:09 melonamin

+1, when starting (autostart at login or Manuel) the settings window opens every time

det-box avatar Sep 18 '24 17:09 det-box

+1, I have the same issue

wjfeeney avatar Sep 18 '24 19:09 wjfeeney

Hello, No news about this bug?

det-box avatar Sep 30 '24 13:09 det-box

+1

My workaround for now:

Grant bash access to Privacy&Security/Accessibility and add a bash-script to the LaunchAgents with the following content:

#!/bin/bash

sleep 5

osascript \
-e 'tell application "TRex" to activate' \
-e 'tell application "System Events" to tell process "TRex" to click menu item "Close" of menu "Window" of menu bar 1' \
-e 'tell application "Finder" to activate'

Or something similar or course ...

I have a bash-script named custom_start.sh in my LaunchAgents anyway for other/similar stuff and adding this did the trick for me: Triggering a virtual keystroke (cmd-w) after the first applescript line didn't work, but this did. It's janky though, of course, so I'm looking forward to the official fix. :-)

Best regards Q

qns7 avatar Oct 11 '24 22:10 qns7

@melonamin This issue has been open for quite a while now, and I wanted to check if there are any updates on a fix. It’s a key blocker for some of us, so I’d appreciate if it could be considered a higher priority.

Redstra avatar Oct 17 '24 09:10 Redstra

@Redstra This is a pain in the back to test/debug, and I just didn't have enough time yet. Something has changed in the OS behavior.

It’s a key blocker for some of us

Do you mind explaining why it is such a big issue for you? I understand that it is annoying, but honestly, I didn't consider it in any way critical.

melonamin avatar Oct 17 '24 09:10 melonamin

@melonamin Thanks for your reply. I understand that debugging this must be difficult. For me, the issue with the settings window opening on every restart is disruptive because it interferes with my workflow and makes the app feel less polished, together with the bug that when I choose to hide the menu icon, there’s no way to access the settings again, which makes it tricky to adjust anything afterward.

I know it’s a free tool, and I really appreciate all the work you’ve put into it so far. It’s been one of my most used apps, and that’s why I wanted to share why it’s a bigger issue for me. Thanks again!

Redstra avatar Oct 17 '24 23:10 Redstra

Ok, fair enough, I'll spend more time on it this weekend.

Thank you for keeping me to a higher standard.

melonamin avatar Oct 17 '24 23:10 melonamin

Please try if 1.7.1 BETA 1 works, it seems to behave well on my end.

melonamin avatar Oct 20 '24 18:10 melonamin

@melonamin Now works without errors. Many thanks

det-box avatar Oct 21 '24 07:10 det-box

@melonamin It works great, thanks for your effort and for taking our feedback into account! One more thing: when “Hide Menu Bar icon” is selected, there’s no way to access the settings window. Could you fix that as well?

Thanks again!

Redstra avatar Oct 22 '24 15:10 Redstra

@Redstra in this version, when menu bar is hidden, try launching TRex again, this should open the settings.

melonamin avatar Oct 22 '24 15:10 melonamin

@melonamin https://www.loom.com/share/9b366df463684a169181a21b3ba6fe74?sid=43739523-dadd-4396-8b1e-e9f44d6235fd Here’s a screen recording showing the behavior when I try to ‘relaunch’ the app after hiding the icon. The only way to access the settings window is by force-closing the app through Activity Monitor, then deleting it with AppCleaner, reinstalling, and reopening it.

Redstra avatar Oct 22 '24 15:10 Redstra

Well, that sucks, cause it totally works on my machine(s) 😐

Will look into it.

melonamin avatar Oct 22 '24 16:10 melonamin

Gave it another go, please take a look

melonamin avatar Oct 31 '24 18:10 melonamin

@melonamin Works perfectly now! Thanks for your effort, no issues with the app now

Redstra avatar Oct 31 '24 19:10 Redstra

@melonamin Works now perfekt. Thanks

det-box avatar Nov 01 '24 11:11 det-box

I'm seeing the "Welcome to TRex" and preferences window every time I restart. Using 1.8.1 on macOS 15.5. Was there a regression on this?

ElhemEnohpi avatar Jun 17 '25 01:06 ElhemEnohpi

You see welcome screen as well? That doesn't sound right, looks like TRex thinks each start is a fresh/first start.

Anything unusual about your setup?

melonamin avatar Jun 17 '25 02:06 melonamin

No, nothing unusual. I did some testing, and it looks like it doesn't happen every time I restart (I don't restart that often), so it must be a different problem than this issue. I also see that all the preferences had got reset. Maybe the preferences file gets corrupted somehow. I'll keep an eye on it, and open a new issue if I can identify a pattern. Thanks for your help, and for all your work on TRex!

ElhemEnohpi avatar Jun 17 '25 13:06 ElhemEnohpi