Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935153 - net-im/discord-0.0.58: add --enable-wayland-ime to Exec argument in discord.desktop
Summary: net-im/discord-0.0.58: add --enable-wayland-ime to Exec argument in discord.d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Randall
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 02:09 UTC by Jae Hak Kim
Modified: 2024-06-30 18:57 UTC (History)
2 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 Jae Hak Kim 2024-06-30 02:09:45 UTC
--enable-wayland-ime enables wayland IM, allowing you to use IM (i.e. fcitx) to type in other languages. 

theoffice /usr/share/applications # cat discord.desktop 
[Desktop Entry]
Name=Discord
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=/opt/discord/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
Icon=discord
Type=Application
Categories=Network;InstantMessaging;
Path=/usr/bin
theoffice /usr/share/applications # 


Reproducible: Always

Steps to Reproduce:
1. enable IM such as fcitx 
2. start discord

Actual Results:  
Unable to use other input methods like fcitx

Expected Results:  
able to use fcitx to type non-english characters (i.e. korean)

VSCode also has this argument in Exec line in /usr/share/applications/code.desktop file.


theoffice /usr/share/applications # cat code.desktop 
[Desktop Entry]
Name=VSCode
Comment=Editing evolved
GenericName=Code Editor
Exec=/usr/bin/vscode --ozone-platform-hint=auto --enable-wayland-ime --use-gl=egl --unity-launch %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;code;

[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/bin/vscode --ozone-platform-hint=auto --enable-wayland-ime --use-gl=egl --new-window %F
Icon=vscode
theoffice /usr/share/applications #
Comment 1 Larry the Git Cow gentoo-dev 2024-06-30 18:57:29 UTC
The bug has been closed via the following commit(s):

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

commit e9e9af1b279a9d993625bb11f381032f89de79e6
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2024-06-30 18:55:03 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2024-06-30 18:56:49 +0000

    net-im/discord: Fix IME support on wayland
    
    Closes: https://bugs.gentoo.org/935153
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 net-im/discord/{discord-0.0.58.ebuild => discord-0.0.58-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)