Alt+shift switches keyboard layouts even though i didn't ask it to

today i tried to install davinci resolve, and it turns out that doing so is not that easy on fedora, so i did it using davincibox, after which pressing alt+shift started switching my keyboard layout
also OBS was installed through flatpack, and i installed some updates
im not sure if the cause lies in any of these, but that’s literally the only thing that happened on this laptop today

the shortcut cannot be found in the system settings, it’s just not there, and it makes it so that whichever button is the second one, doesn’t get registered as pressed

so for example, say i want to set up this exact shortcut, alt+shift, for anything else
if i press shift, then alt, alt wont register as pressed in the shortcut setting menu, but the keyboard layout will be switched
or if i want to resize an image in krita while saving it’s aspect ratio, the shortcut won’t let me

You don’t mention which desktop you’re using, which would seem to be absolutely vital information.

That is a separate container you are using. So I guess you will check with the maker of the box, what is going on.

If you make there a ticket/issue you should give more information about your Fedora Version and your desktop. Otherwise it gets difficult to help you.

sorry, here’s everything

Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2
Kernel Version: 7.2.11-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 16 GiB of RAM (14.6 GiB usable)
Graphics Processor: AMD Radeon Vega 10 Graphics
Manufacturer: HONOR
Product Name: BOHK-WAX9X
System Version: M1030

Just to double check, you have this set up in KDE shortcuts?

yes, this exact one

And you’re unable to set (as you mention in your example) those keys as the trigger? I’m just using this example as I happen to have it open for the screenshot:

yeah, when i press shift and then alt, it switches the layout, but the input field only sees me pressing shift, so i can press alt a bunch of times but it wont put it in the input, all the while im cycling between russian and english

Most odd; tried exporting all of the keyboard shortcuts using the export button and then eyeballing the entire list?

If anything else is using that specific chord, it won’t be accepted, so I can only assume something else has that keychord registered. If so, it should show up in the exported settings.

davincibox

This project aims to provide a ready-to-go container with all of the needed dependencies to install and run DaVinci Resolve on Linux, based on information compiled by bluesabre in his GitHub Gist. Davincibox is primarily intended for users of image-based systems such as Fedora Atomic Desktops and Universal Blue images, but it can be used on any Linux distro that distrobox is available on.

On atomic desktop things are sometimes different registered in the OS. I think that is why the container is acting different ?!

just tried, nothing like that registered
@ilikelinux mentioned being in a separate container, so maybe the shortcut comes from there, somehow
i tried turning off and uninstalling the davincibox and doing a restart, but the issue persists

You’re running this in an Atomic spin? Which one, as you don’t mention that in your initial report.

no, it’s KDE

I know you’re using KDE, but it can still be an atomic/immutable installation of KDE.

So you’re using a vanilla KDE installation, as am I, and apparently nothing else is hooking Shift+Alt, but you can’t enter Shift+Alt as a keyboard shortcut without it immediately changing the keyboard layout to Russian, and this persists across a reboot even after removing the one thing that you’ve changed today and which “seems” to have triggered this undesired behaviour?

Correct?

that is a rather accurate assessment of the issue, yes

i’ve also stumbled upon a guide that suggested installing libxcrypt-compat and removing libglib, libgio, libgmodule the former of which i also removed already, and the latter weren’t even installed in the first place

i’ll try uninstalling the box again and i’ll do a reboot after a new fedora ISO finishes downloading

did it, tried it
nothing changed

i’m off to flashing a new iso, i suppose the problem will remain a mystery, perhaps caused by me doing something very wrong and i hope no soul will have to see this topic like 10 years in the future in desperation to fix the same thing

thank you everyone for your time

turns out it the solution was to go to System setting > keyboard > key bindings > alt and win behavior > meta is mapped to win and the problem wasn’t in any installed programs at all

Quite odd that changing the meta key and what it was mapped to altered the action of Alt and Shift.