Spacebar is not cancelling dead keys on 43

Hello,

I just upgraded from 42 to 43 just yesterday and there’s a issue with keyboard outputs. My language/region is Portuguese/Brazil and my keyboard layout is ‘US international with dead keys’.

I used to type dead keys then hit the spacebar to leave the diacritic mode and only input the character in question. For example, typing " and then spacebar would just output ".

After the upgrade, doing so just leaves me stuck in the accent preview mode.

This is my setup:

# System Details Report
---

## Report details
- **Date generated:**                              2025-11-01 22:12:09

## Software Information:
- **Firmware Version:**                            P05AGM.053.210920.SH
- **OS Name:**                                     Fedora Linux 43 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               49
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.17.5-300.fc43.x86_64

EDIT: KDE seems unaffected by this issue.

This issue was reported by another user as well, here. As mentioned in the other thread, this is working for me.

I wonder what the common denominator is. Is it maybe related to the fact that your system’s language is Portuguese (Brasil)? If you switch the language to English (or create a new account with such interface language), does it change anything?

1 Like

I created another account and set my language to English (US) and then Portuguese (Portugal). In both cases, standalone diacritic characters were being inserted just fine. Otoh, in these cases, the ' and c combination was not outputting ç.

As a workaround for Portuguese (Brazil), I created the following .XCompose in my home folder:

<dead_acute> <space> : "'"
<dead_diaeresis> <space> : "\""
<dead_acute> <C> : "Ç" "Ccedilla"
<dead_acute> <c> : "ç" "ccedilla"

Then i ran gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule': <'ibus'>}"

You could report that as a bug. It looks like a Wayland issue, perhaps limited to Gnome.

For others: You can try to enable ‘US international with dead keys’, which is one of the US keyboard variants, and see how that behaves. For me with XFCE, in works properly as it is using X11. You usually select the keyboard in the keyboard settings of your desktop environment.

You can also reach that with <AltGr>+<,>+<c>.

The (not-so) funny thing is that it’s working for the OP as well, unless the system language is Portuguese (Brasil).

The OP didn’t say that. By the way, the keyboard layout and language settings are independent.

That is what I understood from posts no. 1 and no. 3, corroborated with the information from the other post I have linked, where another user from Brazil is reporting a similar issue.

I know, I am on GNOME as well. But if I understand correctly, and kindly ask @caraecoroa to confirm, is that if a specific user has the system language set to Portuguese (Brasil), then the dead keys are not working properly, whereas if the system language is set to English (US), or even Portuguese (Portugal), then the dead keys are working as expected, using in both cases the same keyboard layout.

Correct. I ran into this issue only when my system language is set to Portuguese (Brazil). I kept using the same keyboard layout in all cases.

Sorry if I wasn’t clear enough.

1 Like

Ok, I found something weird.

I created the following .XCompose file:

<dead_acute> <C> : "Ç" "Ccedilla"
<dead_acute> <c> : "ç" "ccedilla"

Then I ran the gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule': <'ibus'>}" command and restarted the session.

This is the behavior I got:

1

Then I decided to comment out all the lines from the .XCompose file, then ran the same command and restarted the session.

This is the result:

2

The issue seems related to how ć or ç is inserted.

I have the exact same issue. The dead keys don’t get canceled when pressing space. My keyboard layout is ‘US international with dead keys’ and the language/region is Portuguese/Brazil. I tested with ', ^, ~, and `

Note that changing the system language to English “fixes” this. Although not quite, since ` + c becomes ć instead of ç, as other pointed out
Unfortunately, unlike the guys from the other thread, I can’t rely on AltGr, as the english layout RAlt does not do the same as AltGr does in the portuguese layout. This is a regression that happened after the installation of the version 43.

# System Details Report
---

## Report details
- **Date generated:**                              2025-11-11 11:23:57

## Hardware Information:
- **Hardware Model:**                              Dell Inc. Dell G15 5520
- **Memory:**                                      40.0 GiB
- **Processor:**                                   12th Gen Intel® Core™ i5-12500H × 16
- **Graphics:**                                    Intel® Iris® Xe Graphics (ADL GT2)
- **Disk Capacity:**                               (null)

## Software Information:
- **Firmware Version:**                            1.35.0
- **OS Name:**                                     Fedora Linux 43 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               49
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.17.7-300.fc43.x86_64

I did report this issue in fedora’s bugzilla and pointed to this discussion. See bug 2413790. I marked as libinput issue, but I’m not sure.