-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: All button icons are invisible when installed alongside Photoshop 6.0 #4043
Comments
What exactly do you mean by 'buttons and icons are invisible?' Can you provide some screenshots, or describe what you mean more completely? |
It seems like something perhaps went wrong during setup. What happens if you re-install from https://signal.org/download? Your data will be safe as long as you don't uninstall - a reinstall on top of will not remove data. |
I have reinstalled at least five times. |
You might try starting What specific version of Windows are you running? |
OK, I tried each arg with 1.32.1, no difference. This PC is running Windows 10 Enterprise LTSB 1607. The GPUs are:
I have tried closing and reopening on each screen with each arg. The cmd prompt shows the following:
|
I installed 1.32.0, and that's where the problem started. So, someone needs to do a Git diff between 1.29.6 and 1.32.0 and work out what broke it. In the meantime, I will stick with 1.29.6 and put up with the constant nagging to install the broken update. |
The change that likely caused this is the move from Electron 6 to Electron 8, which brings with it many security improvements and fixes. No git diff necessary. Given that you are the only one who has reported this issue, we're looking for any information you can provide on why your computer might be so unique. When you open the dev tools (View -> Toggle Developer Tools) are you able to find where the images should be and inspect those elements? Does it look like those files are present on your system, or are then entirely missing? Essentially: is this a rendering problem or a file existence problem? |
The images are all in the application package |
I'm glad I'm not the only one experiencing this problem. The icons are inside the If there were tool tips on the invisible buttons it would be so much easier to put up with. Why are there no tool tips? |
@thesu1 Can you try right-clicking on that URL in the element inspector and then click "Reveal in Sources Panel" on the context menu that comes up? |
@kenpowers-signal I only had "Copy link address" as an option. Not sure what I'm looking for, but I did browse to it in the Sources tab. All the other images look broken. |
@michaelcsikos @thesu1 When we install Signal Desktop on windows, and when many other people install Signal Desktop on windows, they don't see this. So we're looking for the unique thing about your setup. Is it something about your display hardware? Or perhaps you're doing something interesting on your filesystem so your AppData directory somehow inaccessible? Anything additional information you can provide would be useful. |
@scottnonnenberg-signal I can't think of customizations I've done, but here's my setup. GPU: Intel HD Graphics 4600 Profile photos, including my own, are visible. Perhaps the way the file is referenced makes a difference? |
Reveal in Sources panel doesn't show up for me, either. My laptop has 6 extra monitors and is running Windows 10 Enterprise 2016 LTSB. Apart from that it should be pretty standard: i7-7700HQ CPU, 32 GB RAM, 64-bit. I listed the GPUs earlier. I don't think there's anything unusual about my %AppData%. The updates work fine which is via the Local app data folder. The message cache works, profile pictures, GIFs, photos and videos display, Preferences, and everything seems fine for me except for the |
@michaelcsikos @thesu1 One big difference between the broken icons and the attachments which are showing up properly is the location on disk. So let's do a test - what do you see when you start the app? On the loading screen, on the 'Welcome to Signal' screen - do you see the Signal logo? If that works, it's from the same location as the broken icons. So that suggests that it's a hardware rendering problem. What happens if you go to Command Prompt and start Signal with these arguments? |
I don't see the logo while starting up, even with |
@michaelcsikos When you start up, it should look like this: So we've established that on your windows machine, in particular, we can't extract built-in images from the .asar file. But we can display attachments you receive or send. So it's not graphics; it's some sort of filesystem thing. Hm... |
Do the files get extracted on demand to the |
No; there's a system inside of Electron that redirects disk access to the |
If there was one image that wasn't in the |
@michaelcsikos I don't think that's the right avenue. Given that we can install Signal Desktop on stock windows machines, and this problem doesn't happen, the right next step is to look at the way your computer differs from stock windows. Maybe it's just that you're on Enterprise 2016 LTSB, and it has some weird bug? We don't test on that build of Windows - we test on the Windows 10 build available to everyone. |
@thesu1 is using Windows 8.1 Pro. I tested it on a Win 10 Enterprise 2016 LTSB virtual machine (VMware on my PC) and the images render fine. Is there any other way I can test if files in the |
You can manually unpack the |
I know the files are there. I renamed the |
@scottnonnenberg-signal verifying I don't see the logo on startup either. Only "Loading..." and the 3 dots. |
Same issue here on 1.34.2 using Windows 10 Home |
I've experienced the same issue on 1.36.3 using Windows 10 Enterprise. |
@dsanders11 If there's light at the end of the tunnel, I'm a happy man. I've been using Signal with invisible buttons every workday for over 20 months; another 6 months won't break me. |
Followed your exciting bug hunt in the last days :) It uses also svg for this 2 buttons: |
@hump, thanks for the extra data points! @michaelcsikos, could you try this |
@hump, thanks for the info! Think you could open DevTools and see if the network requests look the same as @michaelcsikos, where some of the requests are listing "svg-xml" for type? |
<!DOCTYPE html>
<html lang="en">
<body>
<img src="signal-logo.svg" />
<object data="signal-logo.svg" type="image/svg+xml"></object>
</body>
</html> img does not work with my chrome/edge (has mime text/xml), only with firefox |
@hump, great, thanks for testing that out, that adds an interesting data point that on your system, in Edge, the type column is reading "text/xml" for the broken requests. @hump, @michaelcsikos, could you both try in the other browser, Chrome/Chromium and Edge, and share a screenshot of the network requests? I want to see if that different in type is just because of the different browser, or if your two systems are acting slightly differently, despite hitting the same issue. Thanks! |
@hump swooped me here while I was writing this up! @michaelcsikos, @hump, good news for you, it looks like the reason it only happens on your systems is on Windows, Chromium is pulling the association between file extension ( I've purposefully changed mine on a Windows VM and can confirm I can reproduce the exact same issue as you both. As @hump's screenshot shows, you need to check the association in the Windows registry using "Registry Editor" under the |
Shout out to @indutny-signal for helping me figure out the registry association, but @hump figured that part out independently as well! |
@hump, can you confirm that changing the value there fixes your system? |
i must admit i am actual no signal user - but after changing the value in my registry, the test case showed correctly now in my chrome & edge and also my gmail addon buttons are visible now :) |
ok, i am a signal user again and i can use it on windows with nice buttons now :) |
so we learned as developer: do not trust the windows registry for mime types. |
Wow! Indeed, my I also worked out which software installer changed the value: Adobe Photoshop 6.0. I tested this in a virtual machine and the installer changes it to Thank you @dsanders11 and @hump for all your help in resolving this issue. Fix-svg-Content-Type.reg Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.svg]
"Content Type"="image/svg+xml"
[HKEY_CLASSES_ROOT\.svgz]
"Content Type"="image/svg+xml" |
@michaelcsikos, glad this is now fixed for you, I'm impressed you toughed through the invisible icons all those years. Glad I could help resolve that for you. Thanks for going the extra mile and figuring out the guilty party on mangling that registry value. I tried searching the web a bit for "svg-xml" when I first spotted it, but unfortunately with the hyphen, hard to get good Google results, so, hard to know how many other people that has bit over the years. I can't imagine Adobe did that intentionally, I'm guessing someone fat fingered the - for the + and well it went under the radar. I'll look into making issues with Chromium and Electron. Chromium may have opinions and choose not to address the issue, but Electron may be able to do something within Electron (like happened in those older versions), since it's a a very not good situation when a desktop app going for native feel gets broken like this in ways which simply don't happen to truly native apps. It's a big trap lurking under there. |
I also tried DuckDuckGo and Google; as you say it's pretty difficult to search. Photoshop 6.0 included a standalone SVG viewer which also sets the In my opinion, Chromium should just automatically sanitise |
@michaelcsikos Wow, I have Adobe Photoshop 6, too. Who would have thought that was the culprit? |
Me too!
From: thesu1 ***@***.***
Sent: Monday, November 29, 2021 2:57 PM
To: signalapp/Signal-Desktop
Cc: stephenbcollins; Mention
Subject: Re: [signalapp/Signal-Desktop] Windows desktop app all button icons invisible (#4043)
I also worked out which software installer changed the value: Adobe Photoshop 6.0.
@michaelcsikos <https://github.com/michaelcsikos> Wow, I have Adobe Photoshop 6, too. Who would have thought that was the culprit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#4043 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUHCDQ5F6IPLSDQUCXXG53DUOOICTANCNFSM4LGFV62Q> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> . <https://github.com/notifications/beacon/AUHCDQ4KONUQEQ4ZELLU3ILUOOICTA5CNFSM4LGFV622YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHKB3SYI.gif>
|
@michaelcsikos, Chromium just merged a change I submitted which adds SVGs to the list of extensions it won't consult the Windows registry on, so that will at least fix SVGs. They didn't seem interested in any larger changes around the functionality. I still have the issue on Electron about changing the behavior in Electron itself, but haven't pursued it further yet. So that Chromium change should make it's way into Electron in ~4 months and Signal some time after that. |
This issue should be fixed and be able to be closed now. The upstream fix shipped in Electron v17. |
Yay! |
All buttons and icons are invisible in both light and dark themes in version 1.32.1. I have uninstalled and reinstalled, no change. This is in all conversations and even the close button in Preferences. There are no tool tips so it's impossible to use. There should be tool tips. I have rolled back to 1.29.6.
Now Signal nags me like crazy to install the new one a hundred times per day. How do I disable the automatic updates? It looks like you've disabled the
hosts
hack.The text was updated successfully, but these errors were encountered: