-
Notifications
You must be signed in to change notification settings - Fork 526
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
After installation 2.9.0 icon does not appear #559
Comments
Seems to be the same as #522 (comment) |
Cross-referencing this thought: #522 (comment) @AlysonRM are you able to test the previous release and see if that shows your icon? If so, I think backing out that line that I removed should be the right fix for this issue at least... |
Please test |
The same in KDE |
I have the same issue in MX Linux with the Deb pacakge and the AppImage as well. |
This can be fixed by adding |
not working for me on Arch Linux XFCE setup. I assume you meant to edit |
I upgraded from 2.8.2 to 2.9.3 and the icon is gone. I'm running a headless WSL2 ubuntu 20.04 without any DE, its running over remote X11.
There is no |
OMG @sarim that fixed the icon for me too. 😱 Thank you so much. I wish if it hopefully gets fixed in next release. EDIT: for me, it was in |
@sarim thanks for taking the time to dig into it - I must have missed something at the time about this when I tried to fix it in #561. I was able to reproduce it locally with this patch: diff --git a/app/src/main-process/app-window.ts b/app/src/main-process/app-window.ts
index 5ab5832c5..712269fbd 100644
--- a/app/src/main-process/app-window.ts
+++ b/app/src/main-process/app-window.ts
@@ -9,6 +9,7 @@ import { ILaunchStats } from '../lib/stats'
import { menuFromElectronMenu } from '../models/app-menu'
import { now } from './now'
import windowStateKeeper from 'electron-window-state'
+import { pathExists } from '../lib/helpers/linux'
export class AppWindow {
private window: Electron.BrowserWindow
@@ -57,7 +58,13 @@ export class AppWindow {
} else if (__WIN32__) {
windowOptions.frame = false
} else if (__LINUX__) {
- windowOptions.icon = join(__dirname, 'static', 'logos', '512x512.png')
+ const path = join(__dirname, 'static', 'logos', '512x512.png')
+ console.log(`path: ${path}`)
+ windowOptions.icon = path
+
+ pathExists(path).then(result => {
+ console.log(`path exists: ${result}`)
+ })
// relax restriction here for users trying to run app at a small
// resolution and any other side-effects of dropping this restriction are And building the app for production verifies this isn't valid:
I have a fix in flight, and after testing the new
|
Please check out |
Yes I can confirm its fixed. Thank you very much for the quick release :) |
Operating System/Distribution
Which distribution of Linux are you using?
Linux Mint 20.2 base: Ubuntu 20.04 Xfce 4.16.0
Installer
Which version of the app?
2.9.0
Which installer type?
GitHubDesktop-linux-2.9.0-linux3.deb
What happened?
After installation the icon does not appear in the bottom bar.
Provide as much detail as possible. Error messages or output are extremely useful.
The text was updated successfully, but these errors were encountered: