Skip to content
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

App icon not showing up on KDE endeavor OS (Arch based) distro. #5445

Closed
CodeCanna opened this issue Dec 7, 2024 · 2 comments
Closed

App icon not showing up on KDE endeavor OS (Arch based) distro. #5445

CodeCanna opened this issue Dec 7, 2024 · 2 comments
Labels
bug Something is broken

Comments

@CodeCanna
Copy link

Describe the bug
The app logo should appear in the app drawer when the application opens.

To Reproduce
Steps to reproduce the behavior:

  1. Run this application with cargo run on a KDE based system
  2. You should see the app logo in the bottom menu bar, but its not showing up for me

Expected behavior
The app logo should appear in the app drawer/menubar

Screenshots
sp_screenshot

Desktop (please complete the following information):

  • OS: EndeavorOS
  • Browser N/A
  • Version Latest

Additional context
This works on Linux Mint, Windows, and FreeBSD, the logo shows up on all of these.

The code for loading the logo

fn load_icon(path: &str) -> egui::IconData {
  let (icon_rgba, icon_width, icon_height) = {
      let image = image::open(path)
          .expect("Failed to open icon path")
          .into_rgba8();
      let (width, height) = image.dimensions();
      let rgba = image.into_raw();
      (rgba, width, height)
  };

  egui::IconData {
      rgba: icon_rgba,
      width: icon_width,
      height: icon_height,
  }
}
@CodeCanna CodeCanna added the bug Something is broken label Dec 7, 2024
@smoe
Copy link

smoe commented Dec 9, 2024

Likely related to #3992 ?

@CodeCanna
Copy link
Author

Likely related to #3992 ?

Yes it is indeed, I confirmed by logging into an X11 session and testing my program, and the Icon is visible. It does seem to be a Weyland problem. Closing since this is a known problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants