Skip to content

Conversation

micieslak
Copy link
Member

@micieslak micieslak commented Aug 28, 2025

What does the PR do

This PR introduces workaround to handle closing behavior on mac in a desired way.

minimize on close enabled:

  • top bar close button - hide
  • try icon menu - quit (previously - hide)
  • CMD+Q - quit (previously - hide)

minimize on close disabled:

  • top bar close button - quit
  • try icon menu - quit
  • CMD+Q - quit

Closes: #18667

Affected areas

SystemUtilsInternal, main.qml

Architecture compliance

How to test

Try scenarios listed above.

Risk

Low

@status-im-auto
Copy link
Member

status-im-auto commented Aug 28, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7bb184f #1 2025-08-28 13:32:37 ~7 min tests/nim 📄log
✔️ 7bb184f #1 2025-08-28 13:37:59 ~13 min tests/ui 📄log
✔️ 7bb184f #1 2025-08-28 13:40:50 ~15 min linux/x86_64 📦tgz
✔️ 7bb184f #1 2025-08-28 13:44:21 ~19 min macos/aarch64 🍎dmg
✔️ 7bb184f #1 2025-08-28 13:47:27 ~22 min linux/x86_64-nwaku 📦tgz
✔️ 7bb184f #1 2025-08-28 13:49:20 ~24 min macos/aarch64-nwaku 🍎dmg
✔️ 7bb184f #1 2025-08-28 13:52:36 ~27 min windows/x86_64 💿exe
✔️ 7bb184f pr18739 2025-08-28 13:52:54 ~11 min tests/e2e 📊rpt

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM, nice work

*/
Connections {
target: SystemUtils
enabled: SQUtils.Utils.mac
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally wouldn't do this distinction here (macOS vs. other); we know we want this behavior everywhere

Copy link
Contributor

@noeliaSD noeliaSD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and there's an scenario that I was not expecting unless I'm missing something..

Whenever the app is running after onboarding, clicking X minimizes the app instead of closing it. Instead, during the onboarding, it does quit correctly.

Screen.Recording.2025-09-04.at.14.27.52.mov

The rest of scenarios are working as expected.

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

Successfully merging this pull request may close these issues.

Cannot close the app on MacOS
5 participants