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

Screen rotation advice on activities #229

Open
PavanLuca opened this issue Aug 23, 2024 · 0 comments
Open

Screen rotation advice on activities #229

PavanLuca opened this issue Aug 23, 2024 · 0 comments

Comments

@PavanLuca
Copy link

PavanLuca commented Aug 23, 2024

What happened?

When I start an activity, switch to another channel/chat/any other section and then return to the activity it shows a screen rotation advice.
Schermata del 2024-08-21 20-11-05

Sometimes the advice is displayed immediately in the reduced window.
Schermata del 2024-08-21 15-27-49

Other times instead the game is still visible there, but then the advice is displayed when the activity is resumed.
Schermata del 2024-08-21 17-53-30

I tried running the same activity on Firefox and the issue don't happen.

What should have happened?

This shouldn't just happen since I'm using a laptop and I don't have any accelerometer.

Output of snap info discord

name:      discord
summary:   Chat for Communities and Friends
publisher: Snapcrafters✪
store-url: https://snapcraft.io/discord
contact:   https://github.com//snapcrafters/discord/issues
license:   Proprietary
description: |
  Discord is the easiest way to communicate over voice, video, and text.
  Chat, hang out, and stay close with your friends and communities.
  
  Snaps are confined, as such Discord may be unable to perform some of the
  tasks it typically does when unconfined. This may result in the system log
  getting spammed with apparmor errors. Granting access to the system-observe
  interface when in the snap will enable the features, and thus reduce the
  logging.
  
    snap connect discord:system-observe
  
  **Authors**
  
  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or officially maintained by the upstream developers.
commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     latest/stable
refresh-date: oggi alle 18:37 CEST
channels:
  latest/stable:    0.0.65 2024-08-23 (205) 117MB -
  latest/candidate: 0.0.65 2024-08-23 (205) 117MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          0.0.65            (205) 117MB -

Output of snap connections discord

Interface             Plug                           Slot                            Notes
audio-playback          discord:audio-playback          :audio-playback                 -
audio-record            discord:audio-record            :audio-record                   -
camera                  discord:camera                  :camera                         -
content[gnome-46-2404]  discord:gnome-46-2404           gnome-46-2404:gnome-46-2404     -
content[gpu-2404]       discord:gpu-2404                mesa-2404:gpu-2404              -
content[gtk-3-themes]   discord:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[icon-themes]    discord:icon-themes             gtk-common-themes:icon-themes   -
content[sound-themes]   discord:sound-themes            gtk-common-themes:sound-themes  -
desktop                 discord:desktop                 :desktop                        -
desktop-legacy          discord:desktop-legacy          :desktop-legacy                 -
gsettings               discord:gsettings               :gsettings                      -
home                    discord:home                    :home                           -
mount-observe           discord:mount-observe           :mount-observe                  manual
network                 discord:network                 :network                        -
network-observe         discord:network-observe         :network-observe                manual
opengl                  discord:opengl                  :opengl                         -
process-control         discord:process-control         -                               -
removable-media         discord:removable-media         -                               -
screen-inhibit-control  discord:screen-inhibit-control  :screen-inhibit-control         -
shared-memory           discord:shmem                   :shared-memory                  -
system-observe          discord:system-observe          :system-observe                 manual
unity7                  discord:unity7                  :unity7                         -
wayland                 discord:wayland                 :wayland                        -
x11                     discord:x11                     :x11                            -

Output of snap version

snap    2.63+22.04ubuntu0.1
snapd   2.63+22.04ubuntu0.1
series  16
zorin   17
kernel  6.8.0-40-generic

Relevant log output

09:10:25 PM kernel: audit: type=1400 audit(1724440225.845:310): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/6087/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
09:10:25 PM ThreadPoolSingl: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/6087/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
08:25:43 PM kernel: audit: type=1400 audit(1724437543.546:279): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/4118/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
08:25:43 PM ThreadPoolSingl: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/4118/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
08:17:32 PM dbus-daemon: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/secrets" interface="org.freedesktop.Secret.Service" member="SearchItems" mask="send" name=":1.15" pid=3597 label="snap.discord.discord" peer_pid=1554 peer_label="unconfined"
08:17:22 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=3597 label="snap.discord.discord" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
08:17:22 PM kernel: audit: type=1107 audit(1724437042.297:230): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=3597 label="snap.discord.discord" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
08:17:20 PM ThreadPoolForeg: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/var/tmp/" pid=3597 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
08:17:18 PM kernel: audit: type=1400 audit(1724437038.405:190): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=3686 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
08:17:18 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=3686 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
08:17:18 PM kernel: audit: type=1400 audit(1724437038.403:188): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=3686 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
08:17:18 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=3686 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
08:17:18 PM kernel: audit: type=1400 audit(1724437038.310:186): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/3686/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
08:17:18 PM ThreadPoolSingl: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/3686/oom_score_adj" pid=3597 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
08:17:18 PM kernel: audit: type=1107 audit(1724437038.269:185): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=3597 label="snap.discord.discord"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
08:17:18 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=3597 label="snap.discord.discord"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:46:21 PM dbus-daemon: apparmor="DENIED" operation="dbus_method_call"  bus="session" path="/org/freedesktop/secrets" interface="org.freedesktop.Secret.Service" member="SearchItems" mask="send" name=":1.15" pid=2782 label="snap.discord.discord" peer_pid=1554 peer_label="unconfined"
07:46:08 PM kernel: audit: type=1107 audit(1724435168.944:130): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=2782 label="snap.discord.discord" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:46:08 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=2782 label="snap.discord.discord" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:45:19 PM ThreadPoolForeg: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/var/tmp/" pid=2782 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:05 PM kernel: audit: type=1400 audit(1724435105.665:100): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:05 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:04 PM kernel: audit: type=1400 audit(1724435104.942:93): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:04 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:01 PM kernel: audit: type=1400 audit(1724435101.016:91): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/" pid=2782 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:45:01 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/" pid=2782 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:44:53 PM kernel: audit: type=1400 audit(1724435093.747:90): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:44:53 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/icd.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:44:53 PM kernel: audit: type=1400 audit(1724435093.675:88): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:44:53 PM Discord: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/etc/vulkan/implicit_layer.d/" pid=2962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:44:51 PM kernel: audit: type=1400 audit(1724435091.977:86): apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/2962/oom_score_adj" pid=2782 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
07:44:51 PM ThreadPoolSingl: AVC apparmor="DENIED" operation="open" class="file" profile="snap.discord.discord" name="/proc/2962/oom_score_adj" pid=2782 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
07:44:51 PM kernel: audit: type=1107 audit(1724435091.595:85): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=2782 label="snap.discord.discord"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:44:51 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=2782 label="snap.discord.discord"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:41:38 PM kernel: audit: type=1107 audit(1724434898.545:80): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=2058 label="snap.typeapp-mail.typeapp-mail" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:41:38 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=2058 label="snap.typeapp-mail.typeapp-mail" peer_pid=997 peer_label="unconfined"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:41:35 PM kernel: audit: type=1400 audit(1724434895.302:79): apparmor="DENIED" operation="exec" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/bin/dmesg" pid=2536 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
07:41:35 PM sh: AVC apparmor="DENIED" operation="exec" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/bin/dmesg" pid=2536 comm="sh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
07:41:35 PM kernel: audit: type=1400 audit(1724434895.291:78): apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/sys_vendor" pid=2534 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:35 PM cat: AVC apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/sys_vendor" pid=2534 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:35 PM kernel: audit: type=1400 audit(1724434895.288:77): apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/product_version" pid=2533 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:35 PM cat: AVC apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/product_version" pid=2533 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:35 PM kernel: audit: type=1400 audit(1724434895.263:76): apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/product_name" pid=2526 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:35 PM cat: AVC apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/sys/devices/virtual/dmi/id/product_name" pid=2526 comm="cat" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:34 PM kernel: audit: type=1400 audit(1724434894.958:75): apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/etc/" pid=2515 comm="sh" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:34 PM sh: AVC apparmor="DENIED" operation="open" class="file" profile="snap.typeapp-mail.typeapp-mail" name="/etc/" pid=2515 comm="sh" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
07:41:32 PM kernel: USER_AVC pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=2058 label="snap.typeapp-mail.typeapp-mail"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:41:32 PM kernel: audit: type=1107 audit(1724434892.142:74): pid=961 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=2058 label="snap.typeapp-mail.typeapp-mail"
 exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
07:40:40 PM snap-confine: AVC apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=2058 comm="snap-confine" capability=38  capname="perfmon"
07:40:40 PM kernel: audit: type=1400 audit(1724434840.829:73): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=2058 comm="snap-confine" capability=38  capname="perfmon"
07:34:46 PM cupsd: AVC apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=1107 comm="cupsd" capability=12  capname="net_admin"
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

No branches or pull requests

1 participant