diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.23k stars 39 forks source link

Issue with chat width on Wayland #170

Open o0nd7ots opened 10 months ago

o0nd7ots commented 10 months ago

I am using a 1080 screen on a Wayland session on Plasma 5.27.8 When I use X11 by removing Wayland socket permission in Flatseal, chats are ok width wise - 950 pixels. When I run it GTKcord4 under wayland though, the width is like 180 pixels.

I prefer not to attach any screenshots since they contain my chats.

diamondburned commented 10 months ago

I have always used gtkcord4 on Wayland + GNOME and found no issues regarding this. Would it be possible to upload a censored screenshot? I cannot know what you're talking about otherwise.

o0nd7ots commented 10 months ago

Okay, here they go:

X11: censored_x11

Wayland: censored_wayland

Also (on wayland) the width is not constant. Here I sent a sticker in another client and the width changed: censored_wayland_alt

I think it is obvious by now but I feel that I should say that I got the app from flathub.

txtsd commented 10 months ago

Looks like this for me on Arch too I never ran it on X11 and thought that's the way it was designed :eyes:

diamondburned commented 10 months ago

That's strange, I'm not running into this issue at all. What versions of libadwaita is gtkcord4 using, and does downgrading libadwaita fix that?

Also, can you check again with the latest pre-release?

txtsd commented 10 months ago

2023-10-08-16:55:06:41:953032868-1920x1080_grim

This is built from source on Arch. gtkcord4: r274.b5cc15e libadwaita: 1.4.0

diamondburned commented 10 months ago

This looks correct to me.

The original screenshot shows that the scrollbar is not on the screen edge. Could this mean that it's still a really old version of gtkcord4?

txtsd commented 10 months ago

That is not what the X11 screenshot looks like. There is so much empty space around the chat.

Not sure about the version, but the latest on flathub is v0.0.12.

o0nd7ots commented 10 months ago

@diamondburned I am running latest flathub version, v0.0.12.

I noticed that when someone sends something long, like an image ora a sticker, the width increases. However for new text chats the width is that of the second original screenshot - unusable.

o0nd7ots commented 10 months ago

Update: I updated the app to 0.0.14 and the issue is still there

gtkcord4 - GTK4 Discord client in Go

          ID: so.libdb.gtkcord4
         Ref: app/so.libdb.gtkcord4/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: v0.0.14
     License: AGPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 65,9 MB
     Runtime: org.gnome.Platform/x86_64/45
         Sdk: org.gnome.Sdk/x86_64/45

      Commit: d8b8dedefc4f33b5aab4c31b443e83e672a082e0f2a81e58f8fcf530ccbddbbe
      Parent: a6840ff3931018eaa824ae02cd92c73a3e6eb0c24b65ab0b6cc2d57441cf0f6d
     Subject: update to v0.0.14 (#3) (1e35601f)
        Date: 2023-10-13 16:29:14 +0000