Issue with Clipboard Functionality in IodéOS

Hello everyone,

For several months now, I have noticed an issue with the clipboard functionality in IodéOS (although the problem might be coming from Heliboard or LineageOS). After a few hours of operation, it often happens that the “copy-paste” function stops working, and I am unable to paste text. To resolve this, I have to go into the applications settings and force stop the Heliboard application for the clipboard function to work again. Have any of you experienced this issue? If you have any solutions, I would be grateful to hear them.

You can often long-press the (blinking) cursor to bring up a popup that includes a paste option.

Absolutly but in this case nothing happen after pressing “paste”

I have the same problem with Gboard.

Is it only when pasting content that has been copied some hours back that nothing is pasted, or do you mean that after it starts misbehaving then copy / paste of new text as well won’t work until you restart the keyboard?

I’m experiencing an issue where copying and pasting new text doesn’t work until I restart the keyboard. I’ve also noticed that apps requiring biometric authentication instead of a password (such as banking apps or password managers) don’t display the biometric authentication button. This forces me to use a password until I restart the keyboard. Once the keyboard is restarted, the message “Apply your finger to the sensor” reappears.

It seems that this issue has been fixed by the latest Heliboard update, so big ups to the Iodé team! :partying_face:

1 Like

I stand corrected, the problem appeared again after some time …

Can you confirm your device and the iodéOS version? Also, does restarting Heliboard cause it to start working again still?

You can go to the settings of heliboard and change the time to recall your copied text up to “no limit”…

In the german version, this is under “Optionen” (most likely “options” in english) right down at the bottom “Speicherdauer des Zwischenablage-Verlaufs”.

You might need to activate the clipboard-history right above that.

Hope that helps.

1 Like

Of course: iodéOS 6.6 on a Fairphone 5. And yes, restarting Heliboard does the trick. But because it’s annoying, I also installed Fossify Board. So when the clipboard stops working, I switch keyboards (from Heliboard to Fossify) and it starts working again

Thanks I’ll try that and tell you if it worked :flexed_biceps:

Nope I still got the problem …

I may have a similar problem not exactly sure if it is the same, I think it is related to the device being locked or unlocked.

I’m currently on Iodé 7.6 on an Sony Xperia 1 V, and ever since I installed Iodé about a year ago my clipboard randomly stops workings. and I can no longer copy text regardless of app. I tried with different keyboard apps, I’m currently with Futo keyboard and it makes no difference which one I use or which app I’m in.

When successfully copying a toast notification is shown at the bottom left of the screen with the content, but when it stops working the toast notification no longer shows and I know the issue is back.

What I’ve found with time is that it seems to happen when the device is not unlocked, as in no pin or fingerprint was introduced. I’m not exactly sure how it happens but I think it has to do automatic unlocking methods, like getting unlocked by say the LOS System profiles instead of directly inserting a pin or fingerprint scanning.

I have a “Home” system profile that activates automatically when I connect to my home wi-fi network, and unlocks the phone; this problem typically happens after that. What I usually do is disconnect the wi-fi, which then disables said profile and re-locks the phone, then manually unlock it from the fingerprint sensor or pin, and reactivate wi-fi afterwards.

After these steps the clipboard works again. The issue arises when I cannot easily re-lock the phone, if I’m not connected to any wi-fi for example. Then I know of no way of triggering a phone lock without restarting which is a hassle. I can also turn of the screen, wait or the lock timeout and turn it back on so it asks for pin, but that also takes time.

Can anyone confirm if this is lock related? Does locking and unlocking your phone also make the clipboard function correctly again.

Yes, I can confirm the link — and I think my own workaround accidentally proves your hypothesis.

I use System Profiles exactly the same way: a profile that disables the lock screen in certain situations. Same random clipboard death, same “no toast anymore = it’s back” symptom.

My workaround was different from yours : I installed a second on-screen keyboard, and whenever the clipboard stopped working I just switched IME. It does fix it. But what I only understood later is that switching keyboard systematically kicks me back to the lock screen. So the keyboard was never the thing doing the fixing — it was the forced trip through the lock screen and the real PIN/fingerprint unlock that came with it. Same result as your Wi-Fi off/on dance, just a shorter route.

Why it happens, as far as I can tell:

  • LineageOS carries a downstream patch (not in stock AOSP) in ClipboardService that blocks clipboard reads when the device is considered locked — it checks the device-locked state before returning anything from the get/has functions:

There’s a later related change too, “Block clipboard UI when device is locked”: https://review.lineageos.org/410885

  • The catch is that “unlocked” here means unlocked through an actual credential. When a System Profile with “Disable lock screen” dismisses the keyguard for you, you get past the lock screen without ever authenticating, so as far as the framework is concerned the device is still locked. Hence : no paste entry in the long-press menu, and no toast on copy. A real PIN or fingerprint flips the state, and it stays fine until the next profile-driven unlock.

This is neither new nor Xperia-specific. A LineageOS 20 user on a Pixel 4 described the exact same thing years ago on XDA : with a profile that disables the lock screen, “cut” works but “paste” is gone, and the only fix is switching to a profile that re-locks the phone and unlocking it manually.

https://xdaforums.com/t/official-lineageos-20-for-the-google-pixel-4.4514833/page-2

Practical ways to re-lock without rebooting, when you’re not on Wi-Fi:

  • switch keyboard from the IME picker — in my case it drops me on the lock screen immediately, so it’s the fastest one-tap fix
  • “Lock now” from the power menu, if you have it enabled
  • a Quick Settings “screen lock” tile, or a lockscreen-shortcut app on the home screen
  • power button once, if “power button instantly locks” is enabled in the security settings

Since this comes from LineageOS upstream rather than from iodé itself, it’s probably worth reporting/upvoting it on the LOS issue tracker as well — the “Disable lock screen” profile option already has known reliability issues there ( System Profiles "Disable lock screen" works unreliably (#5781) · Issues · LineageOS / issues / android · GitLab ).

Hope that helps.

Belle journée

1 Like

Wow nice investigation that does indeed match my issue. As I feared this does sound like an upstream issue from LOS, not Iodé specific. Will definitely upvote bump those reports.

So that’s where it was hiding, the power menu. Now that you mention it, I do have a “Lockdown” button in my power menu. Is that the one you mean?

That’s the kind of quick workaround I was hoping for, somehow I missed it. That settles it for me for the off chance when it happens again.

Thanks for that, makes the issue more bearable

Yep that the one :wink:

1 Like