After upgrading from Fedora 29 to 30, my keyboard shortcuts all remain in the default keyboard layout, even when I’m switched to my secondary layout. I use a standard US layout for my default and a Dvorak layout as my secondary. When I try to lock the screen after mapping it to Meta+L (pressing Meta+P on the keyboard) the “Switch to external screen” display pops up. I found the external display shortcut and it’s mapped to Meta+P. I tried switching it to Meta+D (Meta+H on the keyboard) thinking I had somehow assigned two actions to one shortcut and one was taking precedence, but that resulted in me having to enter Meta+E (Meta+D on the keyboard) to bring up the “Switch to external screen” display.
I don’t remember this behavior in Fedora 29, and I used Meta+L in the Dvorak layout very often to lock my screen. I’m not sure if this is a bug or if this is an intended change in behavior. How can I make keyboard shortcuts work in the currently-selected layout?