anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
46 stars 16 forks source link

1.18.15 - Linux : Cannot copy/paste credentials in login window #3223

Open matthias4217 opened 12 months ago

matthias4217 commented 12 months ago

Game Version

v1.18.15 and v1.19.0-pre.5

Platform

Linux

Modded

Vanilla

SP/MP

None

Description

When trying to log in to the game, copy/pasting my credentials won’t work. This is not that much of a big deal, but I figured it would be better to signal this issue. I’m available for further tests if needed.

How to reproduce

I use Archlinux with Linux 6.6.1, using Xorg and i3wm. I have installed the game from AUR, and then tried a manual download and the run.sh. Launching it will directly ask me for my credentials, where i’m unable to paste them.

Screenshots

No response

Logs

13.11.2023 21:45:59 [Client Notification] Client logger started.
13.11.2023 21:45:59 [Client Notification] Game Version: v1.18.15 (Stable)
13.11.2023 21:45:59 [Client Debug] Creating game window with window mode Fullscreen
[ALSOFT] (WW) No audio support detected in PipeWire. See the PipeWire options in alsoftrc.sample if this is wrong.
[ALSOFT] (WW) Failed to initialize backend "pipewire"
13.11.2023 21:46:00 [Client Notification] OpenAL Initialized. Available Mono/Stereo Sources: 255/1
13.11.2023 21:46:00 [Client Notification] Process path: /usr/share/vintagestory/Vintagestory
13.11.2023 21:46:00 [Client Notification] Operating System: Linux (Arch Linux) [Kernel 6.6.1.1]
13.11.2023 21:46:00 [Client Notification] CPU Cores: 12
13.11.2023 21:46:00 [Client Notification] Available RAM: 15349 MB
13.11.2023 21:46:00 [Client Notification] Graphics Card Vendor: AMD
13.11.2023 21:46:00 [Client Notification] Graphics Card Version: 4.6 (Core Profile) Mesa 23.2.1-arch1.2
13.11.2023 21:46:00 [Client Notification] Graphics Card Renderer: AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.54, 6.6.1-arch1-1)
13.11.2023 21:46:00 [Client Notification] Graphics Card ShadingLanguageVersion: 4.60
13.11.2023 21:46:00 [Client Notification] GL.MaxVertexUniformComponents: 16384
13.11.2023 21:46:00 [Client Notification] GL.MaxUniformBlockSize: 2011939840
13.11.2023 21:46:00 [Client Notification] Cairo Graphics Version: 1.18.0
13.11.2023 21:46:00 [Client Notification] OpenAL Version: 1.1 ALSOFT 1.23.0
13.11.2023 21:46:00 [Client Notification] C# Framework: .net 7.0.13
13.11.2023 21:46:00 [Client Notification] Zstd Version: 1.5.5
13.11.2023 21:46:00 [Client Notification] Start discovering assets
13.11.2023 21:46:00 [Client Notification] Found 23 base assets in category lang
13.11.2023 21:46:00 [Client Notification] Found 0 base assets in category patches
13.11.2023 21:46:00 [Client Notification] Found 22 base assets in category config
13.11.2023 21:46:00 [Client Notification] Found 0 base assets in category worldproperties
13.11.2023 21:46:00 [Client Notification] Found 46 base assets in category sounds
13.11.2023 21:46:00 [Client Notification] Found 97 base assets in category shapes
13.11.2023 21:46:00 [Client Notification] Found 72 base assets in category shaders
13.11.2023 21:46:00 [Client Notification] Found 16 base assets in category shaderincludes
13.11.2023 21:46:00 [Client Notification] Found 131 base assets in category textures
13.11.2023 21:46:00 [Client Notification] Found 4 base assets in category music
13.11.2023 21:46:00 [Client Notification] Found 0 base assets in category dialog
13.11.2023 21:46:00 [Client Notification] Found 411 base assets in total
13.11.2023 21:46:00 [Client Notification] Loading sounds
13.11.2023 21:46:00 [Client Notification] Sounds loaded
13.11.2023 21:46:00 [Client Notification] (Re-)loaded frame buffers
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass .
13.11.2023 21:46:00 [Client Notification] Begin loading shaders
13.11.2023 21:46:00 [Client Notification] Load shaders now
13.11.2023 21:46:00 [Client Notification] Loading shaders...
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass standard.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass particlescube.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass particlesquad.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass sky.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass nightsky.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass woittest.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass transparentcompose.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass debugdepthbuffer.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass helditem.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass chunkopaque.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass chunkliquid.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass decals.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass final.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass gui.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass blur.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass chunktransparent.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass findbright.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass chunktopsoil.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass godrays.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass autocamera.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass blockhighlights.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass wireframe.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass entityanimated.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass luma.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass blit.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass particlesquad2d.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass shadowmapentityanimated.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass shadowmapgeneric.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass texture2texture.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass celestialobject.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass guitopsoil.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass colorgrade.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass guigear.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass ssao.
13.11.2023 21:46:00 [Client Notification] Loaded Shaderprogramm for render pass bilateralblur.
13.11.2023 21:46:00 [Client Notification] Cached session key is invalid, require login
13.11.2023 21:46:03 [Client Notification] Window was resized to 1280 850, rebuilding framebuffers...
13.11.2023 21:46:03 [Client Notification] (Re-)loaded frame buffers
13.11.2023 21:46:03 [Client Notification] Window probably resized, recalculating dialog bounds and recomposing mainmenu-login...
13.11.2023 21:47:47 [Client Notification] Exiting game now. Server running=False. Exit reason: Login quit button was pressed
13.11.2023 21:47:47 [Client Debug] After gamewindow.Run()
Th3Dilli commented 9 months ago

We use OpenTK 4 to handle the clipboard and OpenTK 4 uses glfw to handle the clipboard so I am not sure where exactly the issue might be.

Only thing that could make a difference is maybe the used keys you press and the keyboard layout you are using.

It should at least work on linux using english (US, GB [QWERTY/QWERTZ]) keyboard layout and with CTRL + V.

I haven't tested any other window managers other than gnome ( on Ubuntu) myself.

matthias4217 commented 9 months ago

Indeed, I use bépo, so the layout is completely different. A QWERTY Ctrl+v is Ctrl+. in bépo, and allows me to paste fine. But the bépo Ctrl+v would be Ctrl+u in QWERTY and thus doesn’t work. This is where the issue come from. I suppose changing this would be a big undertaking, and since that AZERTY/QWERTY/QWERTZ probably are the majority, this might not be worth it from you. :shrug:

Th3Dilli commented 9 months ago

ok nice at least we figured that one out

so yeah for now I would mark it as wont't fix since it is probably not needed by the majority

maybe some day when we have to revisit the keyboard input handling to better support different keyboard layouts we should find a common way to fix things for "any" keyboard layout