scrcpy: Wrong icon in the taskbar on Windows
Environment
- OS: [e.g. Debian, Windows, macOS…]
- scrcpy version: [e.g. 1.12.1]
- installation method: [e.g. manual build, apt, snap, brew, Windows release…]
- device model:
- Android version: [e.g. 10]
Describe the bug A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat
if relevant).
Please paste terminal output in a code block.
Please do not post screenshots of your terminal, just post the content as text instead.
After scrcyp runs, scrcy.exe displays a bad icon on the taskbar, and the user cannot modify it. I hope you can change it into the icon icon in the software package as soon as possible. In addition, it is recommended that you launch windows Microsoft Store as soon as possible. Now Microsoft application store supports developers to upload Win32 programs.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17
Commits related to this issue
- Add icon to scrcpy.exe The icon will be associated to scrcpy.exe in the Windows explorer. The .ico was created using imagemagick: convert icon.png icon.ico It is included as a binary for simpl... — committed to Genymobile/scrcpy by rom1v 3 years ago
- Add icon to scrcpy.exe The icon will be associated to scrcpy.exe in the Windows explorer. The .ico was created using imagemagick: convert icon.png icon.ico It is included as a binary for simpl... — committed to Genymobile/scrcpy by rom1v 3 years ago
Hi @rom1v
In a Windows 11 install from 0 it was not possible to get the scrcpy icon to appear correctly in the taskbar. As I said in my previous comment, when scrcpy was open the icon in the taskbar was displayed correctly, but when I clicked on its icon to pin it to the taskbar the icon changed to the wrong one.
As you said in a previous comment: “The exe itself does not have any icon.” and I think that was the reason why the icon was not displayed correctly, at least in Windows 11.
So I have replaced the binary (scrcpy.exe) by the last one you left in your message, and I have verified that the new binary does work; as you can see in the image, scrcpy is not open but its icon is displayed correctly after pinning it to the taskbar. The other binary (scrcpy-server) I have not yet replaced it with the original one, but still, scrcpy can show its icon without problem.
That’s all, thank you.