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

snapd: bugfix: Fix formatting error and change to critical #4668

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TraceyC77
Copy link
Contributor

Summary
Fix text to be two lines not three per spec
Change urgency to critical so users must manually dismiss the notification to give them time to copy the link

Resolves #4636

Test Plan

Ran the Spotify and Termius snaps from command line and App menu
Verified the correct warning appeared

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

**Summary**
Fix text to be two lines not three per spec
Change urgency to critical so users must manually dismiss the notification
to give them time to copy the link

Resolves #4636
@TraceyC77 TraceyC77 requested a review from silkeh December 24, 2024 16:23
Comment on lines +42 to +43
"Snaps will stop working in early January 2025. For details see<br> \
${URL}"
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't work for me:

image

It also overflows the regular notification:

image

Maybe trim it down so at least help.getsol.us is visible:

Suggested change
"Snaps will stop working in early January 2025. For details see<br> \
${URL}"
"Snaps will stop working in early January 2025. See ${URL}"

Comment on lines +32 to +34
# This prevents the warning from showing on KDE Plasma
# if [[ -n "${BAMF_DESKTOP_FILE_HINT+x}" ]] && [[ -n "${GIO_LAUNCHED_DESKTOP_FILE+x}" ]]

Copy link
Member

Choose a reason for hiding this comment

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

I would just remove this entirely if it doesn't work.

Suggested change
# This prevents the warning from showing on KDE Plasma
# if [[ -n "${BAMF_DESKTOP_FILE_HINT+x}" ]] && [[ -n "${GIO_LAUNCHED_DESKTOP_FILE+x}" ]]

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

Successfully merging this pull request may close these issues.

snapd: Confinement warning not shown when launching a snap from the GUI
2 participants