Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899620 - net-im/mattermost-desktop-bin-5.3.0: add USE=wayland with `--enable-features=WaylandWindowDecorations --ozone-platform-hint=auto`
Summary: net-im/mattermost-desktop-bin-5.3.0: add USE=wayland with `--enable-features=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Viorel Munteanu
URL: https://github.com/electron/electron/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-04 22:40 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2023-03-11 12:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leho Kraav (:macmaN @lkraav) 2023-03-04 22:40:05 UTC
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-im/slack/slack-4.29.149.ebuild#n83 seds the desktop file for added Wayland features, we could do the same here.

See also bug 899618.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-03-09 12:26:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa40ac7dd559f44c3b901fddafd14cdb1a235776

commit fa40ac7dd559f44c3b901fddafd14cdb1a235776
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2023-03-09 12:23:55 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-03-09 12:26:02 +0000

    net-im/mattermost-desktop-bin: enable Wayland specific features
    
    Add Wayland specific command line in the .desktop file.
    No need to add a USE flag for this, the new parameters don't seem to do
    anything meaningful under xorg.
    
    Bug: https://bugs.gentoo.org/899620
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 ...bin-5.3.0_rc4.ebuild => mattermost-desktop-bin-5.3.0_rc4-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Leho Kraav (:macmaN @lkraav) 2023-03-09 12:28:10 UTC
Thanks, you are correct about flags, `auto` should "do the right thing".
Comment 3 Viorel Munteanu gentoo-dev 2023-03-09 12:29:01 UTC
I didn't add a USE flag for this, only added the command line parameters.  They don't seem to do anything in xorg.

I don't run Wayland atm, can you test if 5.3.0_rc4 does what it was supposed to do in Wayland?

Thank you!
Comment 4 Leho Kraav (:macmaN @lkraav) 2023-03-11 11:58:26 UTC
(In reply to Viorel Munteanu from comment #3)
> I didn't add a USE flag for this, only added the command line parameters. 
> They don't seem to do anything in xorg.
> 
> I don't run Wayland atm, can you test if 5.3.0_rc4 does what it was supposed
> to do in Wayland?

Works nice, thanks.

MMD 5.3 is still a bit buggy with Wayland - when you resize window in any way, content flows out of bounds on bottom-right. Hopefully they'll fix this by 5.4.
Comment 5 Viorel Munteanu gentoo-dev 2023-03-11 12:01:18 UTC
Thanks a lot!

For resize bugs I hit Ctrl-R, it refreshes the view and looks good afterwards.