Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915598 - net-im/telegram-desktop-bin Uploading files does not work correctly
Summary: net-im/telegram-desktop-bin Uploading files does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-11 15:26 UTC by bagas
Modified: 2023-11-03 22:22 UTC (History)
4 users (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 bagas 2023-10-11 15:26:10 UTC
Hello.
telegram-desktop-bin Uploading files does not work correctly.
When uploading files to telegram, telegram closes completely and me have to start again telegram.

Linux 6.1.53-gentoo-r1 x86_64
xfce4 4.18.4
net-im/telegram-desktop-bin-4.10.3

https://github.com/telegramdesktop/tdesktop/issues/26919 they advise

-- Your system is supported up to 4.9.x. Please downgrade or or get a gtk with wayland.
--- Yeah, that's the thing. gtk with wayland is required since 4.10.0. Your system is uncapable to run new versions.

How to fix?


Reproducible: Always
Comment 1 Henning Schild 2023-10-16 09:30:33 UTC
The information on this one seems pretty spread around. i.e. we have some bits here https://bugs.gentoo.org/show_bug.cgi?id=915066

@bagas can you please try to compile x11-libs/gtk+ with USE wayland, that should make the problem go away and we can add the respective dep to the ebuild
Comment 2 bagas 2023-10-16 12:47:19 UTC
2 options:
/ or individually rebuild gtk+ with wayland support.
USE="wayland" emerge -1av gtk+

/ or as I did, add a couple of flags globally (wayland gles2 opengl).
Comment 3 Henning Schild 2023-10-16 13:05:22 UTC
Sure there are different options to get that done manually once. No need to document them here and it will not be needed after the bug is fixed.

Can you please confirm that it helped. Not to important which temporary/manual method you picked.
Comment 4 bagas 2023-10-16 13:17:14 UTC
helped.
Comment 5 Larry the Git Cow gentoo-dev 2023-10-30 12:54:41 UTC
The bug has been closed via the following commit(s):

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

commit 406dab6aa5f1a96d9f3832423f1cdca3ff03974a
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2023-10-16 10:04:15 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-30 12:53:49 +0000

    net-im/telegram-desktop-bin: add missing USE for gtk+:3 dep
    
    Closes: https://bugs.gentoo.org/915598
    Fixes: 50ef5d226cf0 ("net-im/telegram-desktop-bin: add missing gtk+:3 dep")
    Related-to: https://github.com/telegramdesktop/tdesktop/issues/26919
    Signed-off-by: Henning Schild <henning@hennsch.de>
    Closes: https://github.com/gentoo/gentoo/pull/33359
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Vitaly Zdanevich 2023-11-03 05:59:40 UTC
Now on my X system it requires Wayland - but I do not not want it.
Comment 7 Vitaly Zdanevich 2023-11-03 06:03:18 UTC
Looks like I need to depclean it and use web version :(
Comment 8 Henning Schild 2023-11-03 22:22:42 UTC
It does not require wayland.

Maybe it is anyhow a good idea to drop the scepticism, one day you will likely actually need wayland for whatever reason. But not here and now.

Maybe the browser you run that web version in will pull it in the future ;).