snapcrafters / discord

A community-maintained package to easily install Discord on Linux
MIT License
74 stars 18 forks source link

[Bug]: Ubuntu 24.04: Window not responding to mouse after resizing #206

Closed jezwilkinson closed 2 months ago

jezwilkinson commented 4 months ago

What happened?

Under Ubuntu 22.04 LTS: If the window is resized to a larger size than when the app was started, the full size of the window is rendered but only the part within the original canvas size (relative to topleft of window) responds to the mouse in anyw way (mouseover effects outside of this area do not respond and clicking will bring the window behind into focus). If I resize the window and then re-start the client so that it opens at the larger size, the full window responds as expected.

What should have happened?

When I resize the app to larger than its original size, the full window should stay responsive to mouse actions

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: yesterday at 15:12 CEST
channels:
  latest/stable:    0.0.55 2024-06-05 (192) 111MB -
  latest/candidate: 0.0.55 2024-06-05 (192) 111MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          0.0.55            (192) 111MB -

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-42-2204]  discord:gnome-42-2204           gnome-42-2204:gnome-42-2204     -
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           -                               -
network                 discord:network                 :network                        -
network-observe         discord:network-observe         -                               -
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          -                               -
unity7                  discord:unity7                  :unity7                         -
wayland                 discord:wayland                 :wayland                        -
x11                     discord:x11                     :x11                            -

Output of snap version

snap    2.63
snapd   2.63
series  16
ubuntu  24.04
kernel  6.8.0-35-generic

Relevant log output

No response

Teminal output of app

No response

soumyaDghosh commented 2 months ago

Hey @jezwilkinson I am unable to reproduce this. Are you still facing it?

jezwilkinson commented 2 months ago

Hi, thanks for checking - no, in the meantime it seems to have stopped happening (it was also affecting the Mattermost snap at the time for me, but there must have been some update in between that fixed it for both of them). Marking as closed

jezwilkinson commented 2 months ago

Follow-up - actually I was able to replicate the issue again. For some reason installing the "Mattermost" snap and rebooting the system seems to cause it, and also causes the same behaviour to appear on Virtualbox. Uninstalling Mattermost and rebooting makes the issue go away..

ramyD commented 2 months ago

I do not have the "Mattermost" snap installed but I am experiencing this exact issue. I am using wayland.