Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Fcitx 5 does not work for xwayland applications when force_zero_scaling is enabled

Open unuing opened this issue 1 year ago • 11 comments

The UI isn't scaled correctly and disappears when I input 3 or more characters. YesPlayMusic for example:

https://github.com/hyprwm/Hyprland/assets/107602397/1d48d902-cff4-498a-92f7-36d24636dd7c

unuing avatar Jun 24 '23 08:06 unuing

I have the same problem. Maybe, because xwayland application do not scale, but fcitx5 is a native wayland application, it still scale.

CnTeng avatar Jul 15 '23 05:07 CnTeng

same problem, and for me, the small fcitx5 input bar appear on the another display

gfhdhytghd avatar Sep 17 '23 08:09 gfhdhytghd

the popup here is clearly xwayland. Native wayland popups from fcitx would have no fadein/out or rounding.

Probably an issue with translating coordinate spaces, does this still happen on v0.30?

vaxerski avatar Sep 24 '23 22:09 vaxerski

Still happen on 0.31.0.r47.7f4b0aaa, archlinux aur build.

sakria9 avatar Oct 29 '23 08:10 sakria9

I also have this issue in Pycharm with autocomplete suggestions (or whatever it's called)

Mihuy1 avatar Nov 15 '23 14:11 Mihuy1

Same issue with fcitx on xwayland windows as well as jetbrains IDE auto completes. This doesn't seem to go away even with force_zero_scaling is disabled so I don't know if this is different.

Eddio0141 avatar Nov 26 '23 09:11 Eddio0141

Same issue with fcitx on xwayland windows as well as jetbrains IDE auto completes. This doesn't seem to go away even with force_zero_scaling is disabled so I don't know if this is different.

Update to the newest git version first

If it doesn't happend on other x11 app, it probably not the problem of Hyprland. Maybe try if this happened on other DE/WM?

gfhdhytghd avatar Nov 27 '23 06:11 gfhdhytghd

It happens on other x11 apps, I was just saying those cases are ones I found. I went from a build from 1 or 2 months ago to git latest and this became a problem for whatever reason. This was never an issue in KDE wayland when I used to use it.

Eddio0141 avatar Nov 27 '23 07:11 Eddio0141

hum...go back to v27 with hidpi patch or wait for a few/ton while to fix this

gfhdhytghd avatar Nov 27 '23 07:11 gfhdhytghd

Any news or Tips? i have same issues.

1m-N00b avatar Jan 07 '24 10:01 1m-N00b

I have same issues too

maxz255 avatar May 03 '24 07:05 maxz255

Still a thing?

izmyname avatar Sep 13 '24 10:09 izmyname

You may need to adjust your environment variables and flags.

gfhdhytghd avatar Sep 13 '24 10:09 gfhdhytghd

Try using echo 'Xft.dpi: 192' | xrdb -merge. Alternatively, if you have a similar setting like Xft.dpi: 192 in your ~/.Xresources, you can run xrdb -merge ~/.Xresources. To check everything, use xrdb -query -all. Note: I was dealing with an XWayland application that uses the GDK_SCALE environment variable to scale. At least this worked for me.

StarsEnd33A2D17 avatar Sep 25 '24 06:09 StarsEnd33A2D17