Skip to content

Fix Windows 11 taskbar icon not showing#14905

Merged
Nir-Az merged 5 commits into
realsenseai:developmentfrom
Nir-Az:fix/taskbar-icon
Apr 5, 2026
Merged

Fix Windows 11 taskbar icon not showing#14905
Nir-Az merged 5 commits into
realsenseai:developmentfrom
Nir-Az:fix/taskbar-icon

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Apr 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add GLFW_ICON named resource to .rc files so GLFW finds the app icon when registering the window class. Without it, Windows 11 taskbar falls back to the generic icon.
  • Convert depth-quality .rc from UTF-16 to UTF-8 for readability.

Before:
image

After:
image

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 5, 2026 09:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Windows resource scripts for the RealSense viewer tools so GLFW can locate the application icon resource on Windows 11 (preventing the taskbar from showing the generic icon), and re-encodes the depth-quality .rc for readability.

Changes:

  • Add a GLFW_ICON icon resource pointing to icon.ico for realsense-viewer.
  • Replace the rs-depth-quality resource script content (intended UTF-16 → UTF-8 conversion) and add GLFW_ICON there as well.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
tools/realsense-viewer/res/realsense-viewer.rc Adds GLFW_ICON resource to support GLFW’s Win32 icon loading for taskbar/class icon.
tools/depth-quality/res/realsense-viewer.rc Rewrites the resource script (encoding conversion) and adds GLFW_ICON, but introduces malformed line endings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/realsense-viewer/res/realsense-viewer.rc Outdated
@Nir-Az Nir-Az requested a review from AviaAv April 5, 2026 10:01
@@ -0,0 +1,130 @@
// Microsoft Visual C++ generated resource script.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was converted from the binary representation that was checked in before.
realsense-viewer was text based and depth quality was binary.
Only change is the icon line

@AviaAv AviaAv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az Nir-Az merged commit ab4f56f into realsenseai:development Apr 5, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants