Skip to content

Window is flashing when maximized #20627

@juanluischaurant

Description

@juanluischaurant

The problem

GitHub Desktop flashing when maximized

Github desktop and other apps such as VS Code, Cursor, present a flashing when maximized, for what I could research it is an Electron related issue, even apps suh as Figma desktop, Linear desktop, Discord desktop present this issue.

Visual Studio Insiders already fixed this issue.

MedalTVScreenRecording20250611111446-1749655030.mp4

My system specs are:

Image

Release version

Version 3.4.20 (x64)

Operating system

Windows 11

Steps to reproduce the behavior

  1. open GitHub desktop
  2. maximize it - optional step
  3. minimize it
  4. maximize it

Log files

2025-06-11T03:12:36.592Z - info: [main] Using toast activator CLSID {27D44D0C-A542-5B90-BCDB-AC3126048BA2}
2025-06-11T03:12:37.141Z - info: [ui] [AppStore] loading 3 repositories from store
2025-06-11T03:12:37.141Z - info: [ui] [AppStore] found account: juanluischaurant (Juan Luis Chaurant)
2025-06-11T03:12:37.176Z - info: [ui] [BranchPruner] Last prune took place 9 hours ago - skipping
2025-06-11T03:12:37.416Z - info: [ui] launching: 3.4.20 (Windows 10.0.26100)
2025-06-11T03:12:37.416Z - info: [ui] execPath: 'C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\GitHubDesktop.exe'
2025-06-11T03:12:37.579Z - info: [ui] Subscribed 'juanluischaurant' to Alive channel
2025-06-11T03:12:45.627Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T03:12:48.222Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 3.066s)
2025-06-11T03:12:48.614Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T03:12:49.480Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.256s)
2025-06-11T03:14:40.233Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 2 repositories took 0.3s of which 0.0s paused, total 0.3s
2025-06-11T03:43:46.767Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T03:43:47.474Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 2.328s)
2025-06-11T03:43:47.888Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T03:43:48.743Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.264s)
2025-06-11T04:14:44.668Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T04:14:45.837Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 1.685s)
2025-06-11T04:14:46.211Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T04:14:46.980Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.142s)
2025-06-11T11:34:05.977Z - info: [ui] [BranchPruner] Last prune took place 18 hours ago - skipping
2025-06-11T11:34:09.686Z - error: [ui] Error checking for updates
Error: GitHub Desktop was not able to contact the update server. Ensure you have internet connectivity and try again.
at file:///C:/Users/juanl/AppData/Local/GitHubDesktop/app-3.4.20/resources/app/renderer.js:2:363543
at IpcRenderer.onAutoUpdaterError (file:///C:/Users/juanl/AppData/Local/GitHubDesktop/app-3.4.20/resources/app/renderer.js:2:363824)
at IpcRenderer.emit (node:events:518:28)
at Object.onMessage (node:electron/js2c/renderer_init:2:8918)
2025-06-11T11:34:11.072Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 1.456s)
2025-06-11T11:34:11.075Z - error: [ui] git fetch --progress --prune --recurse-submodules=on-demand origin exited with an unexpected code: 128.
fatal: unable to access 'https://github.com/get-wrecked/medal-electron.git/': Could not resolve host: github.com

2025-06-11T11:34:13.688Z - info: [ui] Executing fastForwardBranches: git fetch . --show-forced-updates --no-write-fetch-head --stdin (took 1.998s)
2025-06-11T11:34:15.027Z - info: [ui] [fetchPushControl] unable to check if branch is potentially pushable
TypeError: Failed to fetch
at Lt (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\http.ts:152:10)
at tr.request (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1804:18)
at tr.ghRequest (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1828:33)
at tr.fetchPushControl (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1641:35)
at Xp.refreshBranchProtectionState (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:1261:37)
at C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5274:20
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Xp.withPushPullFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:4760:5)
at Xp.performFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5226:5)
at Ww.performAndScheduleFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\helpers\background-fetcher.ts:92:7)
2025-06-11T11:34:15.033Z - info: [ui] [fetchAllRepoRulesets] unable to fetch all repo rulesets | repos/get-wrecked/medal-electron/rulesets
TypeError: Failed to fetch
at Lt (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\http.ts:152:10)
at tr.request (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1804:18)
at tr.ghRequest (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1828:33)
at tr.fetchAllRepoRulesets (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1719:35)
at Xp.refreshBranchProtectionState (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:1266:40)
at C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5269:32
at Xp.withPushPullFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:4760:5)
at Xp.performFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5226:5)
at Ww.performAndScheduleFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\helpers\background-fetcher.ts:92:7)
2025-06-11T11:34:15.037Z - info: [ui] [fetchRepoRulesForBranch] unable to fetch repo rules for branch: feature/fe-4189-response-bubble-should-be-100-width | repos/get-wrecked/medal-electron/rules/branches/feature%2Ffe-4189-response-bubble-should-be-100-width
TypeError: Failed to fetch
at Lt (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\http.ts:152:10)
at tr.request (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1804:18)
at tr.ghRequest (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1828:33)
at tr.fetchRepoRulesForBranch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1692:35)
at Xp.refreshBranchProtectionState (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:1287:39)
at C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5269:32
at Xp.withPushPullFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:4760:5)
at Xp.performFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\app-store.ts:5226:5)
at Ww.performAndScheduleFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\helpers\background-fetcher.ts:92:7)
2025-06-11T11:34:15.535Z - warn: [ui] getFetchPollInterval: failed for get-wrecked/medal-electron
TypeError: Failed to fetch
at Lt (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\http.ts:152:10)
at tr.request (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1804:18)
at tr.ghRequest (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1828:33)
at tr.getFetchPollInterval (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\api.ts:1970:35)
at Ww.getFetchInterval (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\helpers\background-fetcher.ts:133:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Ww.performAndScheduleFetch (C:\Users\juanl\AppData\Local\GitHubDesktop\app-3.4.20\webpack:\app\src\lib\stores\helpers\background-fetcher.ts:107:11)
2025-06-11T12:24:49.787Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 2 repositories took 0.1s of which 0.0s paused, total 0.1s
2025-06-11T12:34:24.223Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T12:34:25.859Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 2.300s)
2025-06-11T12:34:26.273Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T12:34:27.145Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.285s)
2025-06-11T13:05:23.469Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T13:05:26.450Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 3.479s)
2025-06-11T13:05:26.892Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T13:05:27.729Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.276s)
2025-06-11T13:36:23.454Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T13:36:24.935Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 1.976s)
2025-06-11T13:36:25.348Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T13:36:26.180Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.244s)
2025-06-11T14:07:22.743Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T14:07:29.192Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 7.216s)
2025-06-11T14:07:29.616Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T14:07:30.477Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.282s)
2025-06-11T14:07:33.715Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.014s)
2025-06-11T14:15:22.638Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 2 repositories took 0.2s of which 0.0s paused, total 0.2s
2025-06-11T14:38:28.472Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T14:38:29.864Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 1.887s)
2025-06-11T14:38:30.231Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T14:38:31.001Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.134s)
2025-06-11T14:41:54.704Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 2 repositories took 0.1s of which 0.0s paused, total 0.1s
2025-06-11T15:09:26.456Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T15:09:28.397Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand origin (took 2.419s)
2025-06-11T15:09:28.871Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
2025-06-11T15:09:29.710Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a origin (took 1.311s)
2025-06-11T15:12:37.992Z - info: [ui] [BranchPruner] Last prune took place 21 hours ago - skipping
2025-06-11T15:13:01.485Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 2 repositories took 0.1s of which 0.0s paused, total 0.1s

Screenshots

MedalTVScreenRecording20250611111446-1749655030.mp4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugselectronIssues related to our use of Electron that may need updates to Electron or upstream fixespriority-3Bugs that affect small number of users and/or relatively cosmetic in nature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions