amebalabs / TRex

Copy any text on your screen, stop retyping.
https://trex.ameba.co
MIT License
1.17k stars 36 forks source link

Preferences menu option gone #28

Closed jacopo-j closed 5 months ago

jacopo-j commented 1 year ago

Hi, after upgrading to version 1.6.0 it looks like the "Preferences" menu option has disappeared.

Screenshot 2022-12-24 alle 13 11 13

Also, I cannot reach the preferences window using trex://showPreferences anymore.

melonamin commented 1 year ago

What version of macOS are you on?

jacopo-j commented 1 year ago

13.1 (22C65)

melonamin commented 1 year ago

Hmmm... I'm on the same version and Settings are there. Let me think about what can cause that

Screenshot 2022-12-24 at 17 55 33

nKolja commented 1 year ago

I just want to add that I have the same problem, trex://showPreferences doesn't work, and furthermore, I cannot open the app at all. I turned off the menu item by preference, so the app is inaccessible through the menu bar. I expected to open it by opening the app file, but that doesn't work. The app runs in the background, it works, I can kill it and re-open it, and it will continue working, but there is no way (to the best of my knowledge) to open the settings pane.

melonamin commented 1 year ago

Hi @nKolja,

you can try running this in Terminal to put TRex menubar icon back - defaults write com.ameba.TRex ShowMenuBarIcon 1

Din0Git commented 10 months ago

Hi There,

Did somebody find a solution for the missing TRex missing menu bar? Can not for the life in me find the settings.

melonamin commented 10 months ago

@Din0Git what macOs version are you on?

As a workaround you can try downgrading to 1.5.2, tweak the settings and go back to 1.6

Flippchen commented 5 months ago

Hey,

have the same issue. Downgrading did not help. trex://showPreferences does not open the settings nevertheless which version I use. Capture command still functions.

melonamin commented 5 months ago

@Flippchen which version of macOS are you on? Have you tried deleting all preferences?

Flippchen commented 5 months ago

@melonamin I currently have macOS Sonoma(14.2). How can I delete all preferences?

melonamin commented 5 months ago

The easiest way would be to uninstall TRex with AppCleaner. Then reinstall the app

Flippchen commented 5 months ago

@melonamin Thanks, that worked. I have reinstalled the tool and the functionality is back, thanks. But I still can not edit the Preferences. The command in the Browser does also not help either. image

melonamin commented 5 months ago

Ok, let me give this another look, this is super weird.

What is your macOS system language is set to?

Flippchen commented 5 months ago

image

melonamin commented 5 months ago

@Flippchen Can you try this build please? TRex.app.zip

Flippchen commented 5 months ago

Hey @melonamin, that solved one of the two problems. When I have the icon in the status bar, I can now go to the settings. But if I turn off the icon, I cannot access the settings via the browser command. I am curious, what solved the first problem?

melonamin commented 5 months ago

@Flippchen check out this build, should adress the remaining issue. TRex.app.zip

I am curious, what solved the first problem?

In short macOS changed the way you can open Preferences\Settings programmatically, there 3 ways to do it now: one for macOS 14, one for macOS 13 and another one for all previous versions...

I was using a dirty hack to get around it, now I switche to a less dirty hack 🙃

Flippchen commented 5 months ago

@melonamin Unfortunately, the preferences still do not show up with the provided command, If I hide the icon in the menu bar.

Thanks for the explanation:)

gcarlino commented 5 months ago

Hello everybody and @melonamin, preferences did not show up with 1.6.0. The latest build 1.7.0 (109) solved the issues and I am able to re-activate the settings with the URL scheme trex://captureclipboard. The terminal command still does not work. I am with macOS 14.3.

By the way, thanks for the amazing work.

melonamin commented 5 months ago

Unfortunately, the preferences still do not show up with the provided command

@Flippchen can you see if there is any relevant output in Console.app when you trying to open the Preferences thorugh URL-scheme? It works 100% of the time for me, I can't reproduce the problem...

The terminal command still does not work

@gcarlino Can you elaborate please?

Flippchen commented 5 months ago

@melonamin I got it to work, but I don't know exactly how. I simply removed the app and all saved data and installed the new version as before.

melonamin commented 5 months ago

I see. The app should register itself with the system during install, sometimes it is flaky...

Thanks, I'm going to release this version

gcarlino commented 5 months ago

The terminal command still does not work

@gcarlino Can you elaborate please?

I mean that I am not able to reactivate the menu bar with the defaults write com.ameba.TRex ShowMenuBarIcon 1 command.