Skip to content

app.showAboutPanel doesn't show icon set by app.setAboutPanelOptions #23850

Closed

Description

@mahnunchik

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 8.3.0
  • Operating System:
    • Ubuntu 20.04 x64
  • Last Known Working Electron version:
    • -

Expected Behavior

Icon set by setAboutPanelOptions method is shown in about window.

Actual Behavior

Icon is shows as error icon.

VirtualBox_Ubuntu_29_05_2020_16_10_23

To Reproduce

app.setAboutPanelOptions({
  iconPath: path.join(__dirname, 'resources/icon.png'),
});
await app.showAboutPanel();

Additional Information

It happens at least in deb package packaged by electron-builder.

Activity

  1. codebytere commented on May 29, 2020

    @codebytere
    Member

    I had no issue when running this fiddle

    Screen Shot 2020-05-29 at 12 32 03 PM

    Are you sure you're specifying the path correctly?

  2. added
    blocked/need-info ❌
    on May 29, 2020
  3. mahnunchik commented on May 29, 2020

    @mahnunchik
    ContributorAuthor

    @codebytere not packaged as deb version works as expected. Produced asar have icon on right place. Windows build works as expected.

    I'm going to check snap version.

    Question: Is any way to add image inside of fiddle to have reproducible deb package?

  4. mahnunchik commented on Jun 25, 2020

    @mahnunchik
    ContributorAuthor

    @codebytere Hi, I have more info.

    Packaging any linux targets with asar option produces broken icon in about window.

  5. removed
    blocked/need-info ❌
    on Mar 9, 2021
  6. electron-triage commented on Mar 10, 2021

    @electron-triage

    The Electron version reported on this issue is no longer supported. See our supported versions documentation.

    If you're still experiencing this issue on a supported version, please open a new issue with an updated repro - a Fiddle is very appreciated.

    Electron has a large issues backlog. To help our team prioritize, we're closing older issues and asking for new issues with updated repro steps if it affects a supported version. This helps sort what issues are still relevant and helps us fix them more quickly.

    Thanks for your patience and understanding!

  7. kiruh commented on Jan 25, 2022

    @kiruh

    @mahnunchik are there any updates on this issue?

  8. kiruh commented on Jan 25, 2022

    @kiruh

    Same issue still occurs in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions