Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

How to add a icon to the gui window with python?

Open zq07075335 opened this issue 2 years ago • 3 comments

Checklist

My Question

I don't know how to set the icon on the top left corner, Can anyone help me? thanks

zq07075335 avatar Aug 23 '23 07:08 zq07075335

I'm wondering the same! Would be nice to be able to change the icon. Right now, at least under Ubuntu 20.04 with Open3D 0.17.0, no icon at all is shown, which makes it hard to distinguish the application in the launcher from other running programs. In my case, I am using the modern GUI based on open3d.visualization.gui.Window.

At a first glance, it looks like a call to glfwSetWindowIcon() should be added somewhere in cpp/open3d/visualization/gui/GLFWWindowSystem.cpp. The problem may be that according to the GLFW documentation (under "Remarks"), this will not work under MacOS or using the Wayland display protocol (e.g. under Ubuntu 22.04), where instead the icon is automatically inherited from the application's desktop file.

The discussion here provides some hints at least for Ubuntu 20: https://discourse.glfw.org/t/taskbar-icon-in-linux-gnome-3-38-3-ubuntu-20-10/1769

tlind avatar Aug 28 '23 10:08 tlind

Hello everyone. Is there any update on this task?

pnchuyen avatar May 14 '24 04:05 pnchuyen

Hi. Would be nice if this functionality existed in Python too.

RowshH avatar Sep 22 '24 11:09 RowshH