DevToys icon indicating copy to clipboard operation
DevToys copied to clipboard

Latest Version, installed via Homebrew, doesn't work on MacOS

Open michaelwapp opened this issue 1 year ago • 18 comments

Current behavior

DevToys, Version 2.0.4.0, doesn't work on MacOS (M2 Pro, 32GB RAM, MacOS 14.5 (23F79)).

I can install the app via brew however, it won't open and just stays there in the dock, shown as an open app.

I already cleared and reinstalled the app via brew.

Anybody experience the same?

How to reproduce it (as minimally and precisely as possible)

Install app via brew. Open app on a MacOS 14.5 device App doesn't open

Expected behavior

App should open

Screenshots

No response

Workaround

No response

Affected platforms

macOS

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version v2.0.4.0

Relevant Assets/Logs

No response

michaelwapp avatar Aug 06 '24 09:08 michaelwapp

Hi, We published v2.0.5.0 a few days ago. While there's no specific change that might address your issue, I'm curious to know if updating helps. Thanks

veler avatar Aug 10 '24 16:08 veler

Still doesn't work. App doesn't open.

michaelwapp avatar Aug 13 '24 10:08 michaelwapp

Thanks for sharing, and sorry about that. Would you please be able to share the logs with me so I can see if there's any interesting message inside?

Here is how you can get them: https://devtoys.app/doc/articles/sysadmin/logs.html?tabs=macos

veler avatar Aug 13 '24 14:08 veler

Here are the logs:

2024-08-13T18:00:25.4659210+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.246ms
2024-08-13T18:00:25.5839440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'CronParser' tool instance manager.
2024-08-13T18:00:25.5843110+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'DateConverter' tool instance manager.
2024-08-13T18:00:25.5866190+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'EscapeUnescape' tool instance manager.
2024-08-13T18:00:25.5870260+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5873750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-13T18:00:25.5876950+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5880100+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ImageConverter' tool instance manager.
2024-08-13T18:00:25.5883270+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonFormatter' tool instance manager.
2024-08-13T18:00:25.5886390+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JSONPathTester' tool instance manager.
2024-08-13T18:00:25.5889500+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonTableConverter' tool instance manager.
2024-08-13T18:00:25.5892630+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5895710+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonYamlConverter' tool instance manager.
2024-08-13T18:00:25.5898800+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ListCompare' tool instance manager.
2024-08-13T18:00:25.5901890+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-13T18:00:25.5905050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'MarkdownPreview' tool instance manager.
2024-08-13T18:00:25.5908230+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NumberBaseConverter' tool instance manager.
2024-08-13T18:00:25.5911410+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'PasswordGenerator' tool instance manager.
2024-08-13T18:00:25.5914560+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5917750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'RegExTester' tool instance manager.
2024-08-13T18:00:25.5920880+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'SqlFormatter' tool instance manager.
2024-08-13T18:00:25.5924000+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-13T18:00:25.5927090+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextCompare' tool instance manager.
2024-08-13T18:00:25.5930210+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5933330+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UUIDGenerator' tool instance manager.
2024-08-13T18:00:25.5936440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XmlFormatter' tool instance manager.
2024-08-13T18:00:25.5939540+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XMLTester' tool instance manager.
2024-08-13T18:00:25.5946050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Extensions Manager' tool instance manager.
2024-08-13T18:00:25.5948320+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Settings' tool instance manager.
2024-08-13T18:00:25.5951040+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NoSearchResults' tool instance manager.
2024-08-13T18:00:25.5963920+08:00       Information     [DevToys.Core.Tools.GuiToolProvider]    [LogToolInstancesCreated]       Instantiated 32 tools in 16.306ms
2024-08-13T18:00:25.5989860+08:00       Information     [DevToys.MacOS.AppDelegate]     [2]     MEF, services and logging initialized in 175.002 ms
2024-08-13T18:00:25.5990200+08:00       Information     [DevToys.MacOS.AppDelegate]     [1]     App is starting...
2024-08-13T18:00:26.2975070+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.LastVersionRan' changed to '2.0-preview.5'
2024-08-13T18:00:26.3581770+08:00       Information     [DevToys.Blazor.Core.Services.FontService]      [LogImportThirdPartyFontsAsync] Loaded 2 font(s) in 8.648 ms and injected them in 151.275 ms
2024-08-13T18:02:58.3064010+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowBounds' changed to '0,87,1,1'
2024-08-13T18:02:58.3071640+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowMaximized' changed to 'False'
2024-08-13T18:02:58.3077480+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.114ms
2024-08-13T18:02:58.3082690+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Blazor.UserPreferredNavBarState' changed to 'Expanded'

michaelwapp avatar Aug 14 '24 03:08 michaelwapp

I'm having the same issue.

installed by Homebrew

DevToys, Version 2.0.5.0, MacOS (M3 Pro, MacOS 14.6.1(23G93)).

Here the logs:

2024-08-24T14:31:07.4347540+09:00	Information	[DevToys.Core.FileHelper]	[0]	Cleared temp files in 0.185ms
2024-08-24T14:31:07.4400090+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogDiscoveringPlugin]	Discovering plugin in '/Applications/DevToys.app/Contents/Resources/Plugins/DevToys.Tools'...
2024-08-24T14:31:07.4925130+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogMefComposition]	MEF composed 112 parts from 6 assemblies in 53.642ms
2024-08-24T14:31:07.5380530+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64ImageEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5383880+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64TextEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5386510+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CertificateDecoder' tool instance manager.
2024-08-24T14:31:07.5391480+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ColorBlindnessSimulator' tool instance manager.
2024-08-24T14:31:07.5394820+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CronParser' tool instance manager.
2024-08-24T14:31:07.5397610+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'DateConverter' tool instance manager.
2024-08-24T14:31:07.5417350+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'EscapeUnescape' tool instance manager.
2024-08-24T14:31:07.5420490+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5423120+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-24T14:31:07.5425650+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5428180+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ImageConverter' tool instance manager.
2024-08-24T14:31:07.5430670+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonFormatter' tool instance manager.
2024-08-24T14:31:07.5433240+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JSONPathTester' tool instance manager.
2024-08-24T14:31:07.5435760+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonTableConverter' tool instance manager.
2024-08-24T14:31:07.5438250+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5440720+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonYamlConverter' tool instance manager.
2024-08-24T14:31:07.5443200+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ListCompare' tool instance manager.
2024-08-24T14:31:07.5445670+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-24T14:31:07.5448130+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'MarkdownPreview' tool instance manager.
2024-08-24T14:31:07.5450640+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NumberBaseConverter' tool instance manager.
2024-08-24T14:31:07.5453100+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'PasswordGenerator' tool instance manager.
2024-08-24T14:31:07.5455610+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5458110+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'RegExTester' tool instance manager.
2024-08-24T14:31:07.5460570+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'SqlFormatter' tool instance manager.
2024-08-24T14:31:07.5463200+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-24T14:31:07.5465650+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextCompare' tool instance manager.
2024-08-24T14:31:07.5468170+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5470680+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UUIDGenerator' tool instance manager.
2024-08-24T14:31:07.5473180+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XmlFormatter' tool instance manager.
2024-08-24T14:31:07.5475660+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XMLTester' tool instance manager.
2024-08-24T14:31:07.5480980+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Extensions Manager' tool instance manager.
2024-08-24T14:31:07.5482830+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Settings' tool instance manager.
2024-08-24T14:31:07.5485120+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NoSearchResults' tool instance manager.
2024-08-24T14:31:07.5496270+09:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogToolInstancesCreated]	Instantiated 32 tools in 13.669ms
2024-08-24T14:31:07.5520150+09:00	Information	[DevToys.MacOS.AppDelegate]	[2]	MEF, services and logging initialized in 150.932 ms
2024-08-24T14:31:07.5520430+09:00	Information	[DevToys.MacOS.AppDelegate]	[1]	App is starting...
2024-08-24T14:31:08.4048690+09:00	Information	[DevToys.Blazor.Core.Services.FontService]	[LogImportThirdPartyFontsAsync]	Loaded 2 font(s) in 9.689 ms and injected them in 253.755 ms
2024-08-24T14:31:13.2801420+09:00	Error	[DevToys.Core.Web.WebClientService]	[0]	Error while fetching data from https://api.github.com/repos/DevToys-app/DevToys/releases
TaskCanceledException_ctor_DefaultMessage
System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
 ---> System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   Exception_EndOfInnerExceptionStack
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at DevToys.Core.Web.WebClientService.SafeGetStringAsync(Uri uri, CancellationToken cancellationToken)

2024-08-24T14:31:14.7523870+09:00	Information	[DevToys.Blazor.BuiltInTools.ExtensionsManager.ExtensionInstallationManager]	[0]	Extension DevToys.Tools is up to date
2024-08-24T14:31:38.2732450+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.MainWindowBounds' changed to '0,27,1,1'
2024-08-24T14:31:38.2752170+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.MainWindowMaximized' changed to 'False'
2024-08-24T14:31:38.2762800+09:00	Information	[DevToys.Core.FileHelper]	[0]	Cleared temp files in 0.101ms
2024-08-24T14:31:38.2769160+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Blazor.UserPreferredNavBarState' changed to 'Expanded'


sskim91 avatar Aug 26 '24 02:08 sskim91

Any update here?

michaelwapp avatar Sep 17 '24 13:09 michaelwapp

Hi, No update so far, sorry. I'm unable to reproduce the issue on my side unfortunately, and the logs aren't showing any issue. Question: if you downgrade to 2.0.0.3, does it work?

veler avatar Oct 20 '24 17:10 veler

2.0.0.3 produces the same result for me unfortunately

michaelwapp avatar Oct 21 '24 13:10 michaelwapp

Gotcha. How about 2.0.1.0 ? I'm trying to understand if this is a regression or an issue with your system / some configuration.

If 2.0.1.0 does not work, can you please try removing everything in ~/Library/Caches/com.devtoys, ~/Library/com.devtoys, and remove the following file: Users/<username>/library/preferences/com.devtoys.plist ? This should reset DevToys to some "factory" settings.

Thanks

veler avatar Oct 21 '24 14:10 veler

Doesn't work for me, even if I clean the caches / paths you've mentioned.

michaelwapp avatar Oct 22 '24 13:10 michaelwapp

Thanks! Did 2.0 ever worked on your machine? Is it possible the window is hidden in a secondary monitor that is disconnected? Any chance that by showing all opened windows, the DevToys one appears?

veler avatar Oct 22 '24 15:10 veler

Same issue me too Doesn't work for me, even if I clean the caches / paths you've mentioned.

It works on a Mac of the same model, but not on another Mac. I'll check out the link you provided.

sskim91 avatar Oct 22 '24 15:10 sskim91

I don't see anything on my Mac desktop.

sskim91 avatar Oct 23 '24 09:10 sskim91

2.0 worked for me initially, but the window was always hidden and I had to do what you mentioned to show the window. Now there is no window shown. Even the top menu is only showing DevToys and Edit but nothing more.

michaelwapp avatar Oct 24 '24 02:10 michaelwapp

Application Devtoys.app -> Show Package Content -> Contents -> info.plist delete

deleting the info.plist file, after it should work fine.

However, when I run the app after restarting my MacBook, I get the message The application ‘DevToys.app’ can't be opened.

sskim91 avatar Nov 03 '24 13:11 sskim91

This didn't help. If I delete the file, I can't open DevToys, getting the message:

"DevToys.app can't be opened"

michaelwapp avatar Nov 04 '24 01:11 michaelwapp

Is there a 1.x build for MacOS available somewhere s.t. I can downgrade?

michaelwapp avatar Nov 04 '24 02:11 michaelwapp

I also encounter the issue where after installed appear to be an opened app but I cant see the windows. After many tries to install and uninstall still not workable. Then I tried to uninstall, including to delete all the caching, then I do a restart and reinstall again. Now manage to open the windows.

lai-vson avatar Jan 10 '25 10:01 lai-vson

Same issue here, the DevToys initializes but the window does not open. I am able to see the DevToys menus in the top bar and close the app normally.

I have tried both via Homebrew and downloading the application from the website.

The application icon shows a pre tag, such as the image below, is it suppose to be like that, is this a pre release?

Image

In ~Library/Caches, I have both:

  • com.devtoys
  • com.devtoys.preview

Even after cleanup, reinstallation the problem persists.

Setup:

  • DevToys 2.0.8.0
  • MacBook Pro M3 Pro
  • macOS Sequoia 15.5 (24F74)

jmschp avatar Jun 18 '25 10:06 jmschp

I can also confirm that the problem still persists for me

michaelwapp avatar Jun 18 '25 22:06 michaelwapp

Anyone has found a workaround?

After clicking "Show All Windows" I can see an empty transparent window frame, but the app is not visible.

davidjbng avatar Sep 10 '25 08:09 davidjbng

It seems to be working again. At least for me. Try brew upgrade --cask devtoys.

jmschp avatar Oct 29 '25 08:10 jmschp

For me, it's also showing up again. Could be related to me using https://github.com/nikitabobko/AeroSpace forcing it to scale or any other macos related update.

michaelwapp avatar Nov 03 '25 04:11 michaelwapp