yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] pratyush28:
Hi [MENTION=6797900]Roughy[/MENTION] did you manage to find any working solution to the jumping cursor problem?

The frequency of the bug is increased here for me. Its now more like 50 percent of time im facing this bug, when i use the select all option from the spacebar slide up menu and try to delete the selected text, only the last letter gets deleted also weirdly enough when i do this multiple times (select all + backspace) selected text gets deleted but then when i start typing again in the blank field, random parts of the deleted text start appearing when i type my first letter or sometimes after i hit spacebar after completing the first word. Most of the time adding spacebar just doesn't add a space instead adds letters of the previously deleted text.

I know this issue has been lingering since a long now and its difficult to reproduce, i kind of found a way to fix this bug (temporarily). I can share a video if you want me to but ill try to explain it here.

Firstly i chose an app with a text field and clear it from recents (whatsapp) then i start typing random words and then use the spacebar swipe up menu to use the select all option and hit delete. After 5-10 successful combos the bug finally appears ( i use two methods 1st - word predictions to quickly type words + select all command + backspace and 2nd - random words + select all command+ any alphabet instead of delete).

Now after the bug appears even after several select all and delete combos it only deletes the last alphabet so to temporarily fix it i found two methods both seem weird to me 1st - Pull down the statusbar and then minimize it again, start typing the bug disappears and deletes the whole selected text, until it appears again. 2nd - After the bug appears, press home button and then return back to the app and resume typing.

Both these methods temporarily fix the select all + delete problem also i am able to reproduce the bug very easily within minutes, if you followed these steps and still couldn't reproduce the bug ill post a video depicting it. Hopefully you can fix it if you can figure out the pattern.

Thanks for developing such an amazing module and all your efforts to keep it up to date hope i can be of some use by helping you in the process!
[Xposed Framework Modules] Roughy:
I would love to fix this bug, but it is indeed proving very elusive.

I have been able to reproduce it by rapidly copy/paste/delete/swipe-selecting, but my hit rate is something like once every 15-30min, making it nigh impossible to track down the cause.

Anything that causes Swiftkey to reset its state will indeed temporarily resolve the problem, which is why pulling down the status bar or going to home works, as it causes the text field to lose focus.

All this time I had been assuming that it was somehow caused by us messing with the cursor position during swipe-selection, but if you really are managing to reproduce it only by inputting text and using select all, then this is definitely a problem on Swiftkey's end, as we use the built-in Select-All text action for that.

I've spent ten minutes attempting to reproduce it using the steps you described above with no luck.

Is it possible you accidentally activated swipe-mode at some point while reproducing the bug? Repeating the same task over and over I did so a couple of times, and it would be consistent with the assumption that is is somehow related to swipe-selection. It would be nice if that were not the case though.

Could you tell me what other settings you have enabled? I'm fairly sure I confirmed that the bug persisted despite disabling anything that might affect it last time, but who knows.

A video of you reproducing the issue would be appreciated, to confirm whether I am performing the correct steps on my side.
[Xposed Framework Modules] pratyush28:
I dont think i enabled swipe mode but i guess there is a chance because i have set my spacebar to move cursor maybe while enabling the select all option the cursor moved? I can't see the cursor move in the screen recording though, take a look maybe you can figure something out.

https://drive.google.com/file/d/1kOXTX2M0fAmOcvQIj4tpk556l35zZVM4/view?usp=drivesdk

The video is unedited, i managed to capture the bug in my very first attempt. Also i only moved the cursor later on and added a space between the word which caused those alphabets pop up out of nowhere.

https://drive.google.com/file/d/1aqAXopkUx7a7KheDMarZOcRbRJP_TAv5/view?usp=drivesdk

This link contains my exi settings.

Let me know if you need anything else. I can also record again with swipe mode disabled if you feel its causing the bug.

EDIT: I just disabled the swipe mode from exi settings and i can't reproduce the bug anymore :( . Enabled it again and immediately got the bug. So now I'm 100% sure it is caused by swipe mode just being enabled in exi settings.

I will also try other options in swipe mode and report back. Previously i was using the space bar mode now ill try number row.

EDIT 2: Looks like bug only appears when swipe mode using space bar is enabled, i tried swipe on number row and swipe anywhere 5 minutes each but to no avail. Whereas as soon as i enabled swipe on space bar bug appeared within 10 seconds of spamming keys.
[Xposed Framework Modules] Roughy:
Successfully reproduced.

It happens when you trigger swipe-selection on the spacebar, then transition into the quick-menu.

I have some logic in place that will reset the cursor back to where it originally was, since the user probably triggered swipe-selection by mistaken.

Clearly I am doing something to mess things up there.

I think this is separate from the old jumping cursor issue, but in any case I will figure out what's going on and release an update with a fix within a couple of days.

More suggetsions (broken by recent update) has already been fixed, and custom search engine stuff added.

Thanks for bringing this to my attention!
[Xposed Framework Modules] pratyush28:
Im glad i could help :)

Custom search engine already? :laugh: many thanks!

Swiftkey is incomplete without your module and is the only thing which is keeping me from updating to pie.

Thank you for all your efforts put into making this module you are the best:svetius:
[Xposed Framework Modules] Roughy:
Exi for Swiftkey 1.8.1 release

1.8.1 [ 05.12.2018 ] - Custom search, updated emoji, bug fixes ( Stable: 7.1.8.29, Beta: 7.1.9.23 )

Changes in 1.8.1

Fixed

- Compatibility targeting 7.1.9.23

- Cursor getting stuck when transitioning from swipe-selection to quick menu

- Rare crash caused by missing hook requirement check

Added

- Customizable search

Changed

- Updated emoji ( Android Pie )

The Xposed Installer app does not appear to be refreshing properly and may not list the latest version.

Please download it directly from the Xposed Repository below using a browser.

Download:

Exi for Swiftkey on Xposed module repository

Notes:

Notes

I was going to add another feature or two, but it turns out we have critical bugs to fix.

Cursor shennanigans [MENTION=7774486]pratyush28[/MENTION]

I'm sure we all remember scattered reports of the cursor getting stuck or otherwise doing weird things. I am not sure this is the exact same issue, but it would certainly cause the same symptoms.

When we move the cursor, we enter "Batch mode", which batches multiple cursor move operations together without letting Swiftkey know that the cursor has moved. If we don't do this it tries to update its predictions constantly, bringing lower-end devices to a crawl and looking rather weird. If the user uses swipe-on-spacebar, they may trigger swipe-selection for a split second before activating the quick menu, inadvertently moving the cursor. To combat this we exit swipe mode and reset the cursor position when this happens.

Normally we wrap up swipe selection when the user's finger leaves the screen, but since we already cancelled swipe mode this doesn't happens, batch mode is never concluded, and surprisingly weird things happen.

If you use swipe-on-spacebar and have been having trouble with the cursor seemingly getting stuck or acting like it's in another position, this update will likely fix it.

Customizable search [MENTION=8688390]Preformerr[/MENTION] [MENTION=4686530]iamMG[/MENTION]

That toolbar search thing! Make it do other things!

Under settings - Custom Search, you can now choose a custom search string:

Per [MENTION=8688390]Preformerr[/MENTION] 's advice it is fully customizable. When you search, $1 will be replaced by your search string and opened in the browser.

It defaults to google, and also come with presets for duckduckgo and wikipedia.

I'd provide an example for Presearch, but they want you to sign up before you can use it, so you're on your own there.

When Swiftkey searches, it actually opens an instance of Edge in a completely separate process, which is why it is sometimes so horrendously slow to open ( not my fault! ).

I've also experienced it sometimes ... not opening. It's super sketch.

Do note that the autocomplete stuff still relies on Bing's api, because messing with that would be a bit more involved than just replacing a url.

Emoji [MENTION=483168]ogsho[/MENTION]

The list of emoji has been updated to include everything added since Pie, or at least everything listed on Emojipedia.

All the panels will auto-update the next time you open the Exi config app, assuming I didn't break anything.
[Xposed Framework Modules] iamMG:
thanks [MENTION=6797900]Roughy[/MENTION] for making my suggestion a feature!
[Xposed Framework Modules] oroboros74:
[MENTION=6797900]Roughy[/MENTION] Re Customizable search: Thanks first of all! This mod is one of the only reasons I haven't moved on to Pie!

I was wondering if there's a way to remove the "Search [Bing]" text when using customized search, or being able to substitute that text with whatever name.

Also, any chances of having customizable translation, too, using Google Translate or whatever? See:

https://xdaforums.com/showpost.php?p=77525539&postcount=567
[Xposed Framework Modules] Roughy:
The translations fall under the same category as the bing search autocomplete; it accesses bing with an api-key, so it's not just a matter of swapping out the url.

I was still going to have a look at it to see if I could easily hook into it, but cut that off so I could push the update with the jumping cursor fix.

Replacing the "Search [Bing]" text really wouldn't be worth the effort. Every hook added is another thing I have to spend time fixing when a future Swiftkey update inevitably breaks it.

The feature creep is real.
[Xposed Framework Modules] Uraniam9:
Dev pls make a modified swift keyboard with exi features for pie users

---------- Post added at 08:36 PM ---------- Previous post was at 08:33 PM ----------

Is is not possible to inject features directly into app besides virtually hooking?
[Xposed Framework Modules] Techvir:
u may have to wait till xposed for pie is released.
[Xposed Framework Modules] Preformerr:
[MENTION=6797900]Roughy[/MENTION] Thank you so very much for giving us customizable search so quickly!

The string used for Presearch is: "https://presearch.org/search?term=$1" (replace $1 with your word).

Presearch basically just redirects you to a search engine of your choice (you can choose from many) and pays you for every search you make, upto 25 everyday, I think. Its not much, but I'm using it as it doesn't involve doing anything extra. I won't advertise my referral link here though.
[Xposed Framework Modules] christantoan:
Is it possible to expand the prediction list of normal keyboard to be like, for example, Japanese keyboard?

Thank you.
[Xposed Framework Modules] Techvir:
???

I don't see it
[Xposed Framework Modules] n0j0e:
Quick check with SwiftKey 7.1.9.24 and Exi 1.8.1: Works!

Sent with much love & Android. OnePlus 5T
[Xposed Framework Modules] biebie29:
I had 1.8.1 on my Samsung note 4 running 6.0.1 and currently still running swiftkey 7.1.9.24 and my swiftkey did not open it just crashed so that latest stable version of exi that still runs with my swiftkey is 1.7.2 and ive tried firce stop of both exi 1.8.1 and swiftkey and tried clearing data and cache of both swiftkey and exposed framework nothing works for me as i said im running swiftkey 7.1.9.24 with exi 1.7.2 that is all my device allows not even exi 1.7.3 work then my swiftkey just doesn't work or pop up
[Xposed Framework Modules] Roughy:
Xposed log and logcat output please, specifically when running Exi 1.8.1.

Every time there is a Swiftkey or Exi module update, we have to spend some time looking for the classes and methods to hook.

This means that Swiftkey will lock up for a bit, and you are likely to get the "... Is not responding" message, with an option to continue waiting for a bit. On my 2014 Oneplus One this takes approximately 16 seconds from start to finish.

If you are running into trouble opening the keyboard itself, I would recommend launching the Swiftkey app and waiting for it to open. Every time the process is interrupted (e.g. because of being force-closed) it will have to start over from scratch.

You should be met by a white splashscreen with Swiftkey displayed in the center, which will turn into the normal Swiftkey config screen once the hook process has finished.

If you encounter the "Swiftkey is not responding" dialog, just click "wait".
[Xposed Framework Modules] Preformerr:
Try to find it in Settings - Misc of the updated Exi
[Xposed Framework Modules] Techvir:
My fault. Xposed still had the older version
[Xposed Framework Modules] BadToThePhone:
Is anyone having problems with the gif option in SwiftKey?
[Xposed Framework Modules] knaik95:
Don't know if this is the right place for this but what's the last version of SwiftKey supported by TaiChi? I got it to create a modded apk for Swiftey's latest version but don't really know what to do from there because most of the app is in Chinese :/
[Xposed Framework Modules] toole:
Is there a magisk version of this mod? Thanks
[Xposed Framework Modules] n0j0e:
Nope and what i know it will never be.

Sent with much love & Android. OnePlus 5T
[Xposed Framework Modules] BadToThePhone:
It seems since Bing was introduced to SwiftKey the gif option no longer works. I've tried multiple text app apps and can't get it to work. Has anyone else had this problem? Thanks
[Xposed Framework Modules] BaschtlWaschtl:
Gif works for me.. Tested in WhatsApp..
[Xposed Framework Modules] BadToThePhone:
When I tested the SwiftKey gif option in WhatsApp I just get a url address for the gif not an actual gif.
[Xposed Framework Modules] Uraniam9:
Any other keyboard exists which has integrated swift key+exi combination?
[Xposed Framework Modules] Techvir:
Nope
[Xposed Framework Modules] Roughy:
Exi for Swiftkey 1.8.2 release

1.8.2 [ 03.01.2018 ] - Compatibility fixes ( Stable: 7.1.9.24, Beta: 7.2.1.17 )

Changes in 1.8.2

Fixed

- Compatibility targeting 7.2.1.17 ( only Emoji panel affected )

Changed

- Updated translations ( Croatian & Polish )

The Xposed Installer app does not appear to be refreshing properly and may not list the latest version.

Please download it directly from the Xposed Repository below using a browser.

Download:

Exi for Swiftkey on Xposed module repository

Notes:

Not much going on here. Latest beta made some changes to the emoji layout that required some tweaking. Happy new years!
[Xposed Framework Modules] n0j0e:
1.8.2 [03.01.2019] [emoji6]️[emoji322]️

Thanks for the update!

Sent with much love & Android. OnePlus 5T
[Xposed Framework Modules] biebie29:
Can anyone please tell me what to do i install the latest version of exi on my tab 4 and swiftkey crashes i install the version running fine on my Samsung note 4 and it crashes the version that works on my note is v 1.7.2 if I go higher than that on my note it crashes as well any help
[Xposed Framework Modules] oroboros74:
I noticed on the Xposed repo a mod for undo/redo and it got me to thinking : is it possible with Exi?
[Xposed Framework Modules] Roughy:
This usually indicates that you are using an older version of Swiftkey; note how each release includes a "stable" and "beta" version number that corresponds with the Swiftkey version it was confirmed compatible with on release.

If you are using a Tab 4, I suppose you might still be on Android Kitkat?

Swiftkey stopped releasing updates for android versions below Lollipop a long time ago, so in that case the latest Swiftkey version available will be a very old version, and thus only be compatible with an older version of this module.

Undo / Redo has been a thing since Exi 1.4.1, but it uses the built-in functionality provided by the system, which is only available since Marshmallow.

Looking at the xposed repository there is at least one module that appears to implement it from scratch, but I don't consider it worth the effort.

Even Marshmallow is already ancient in Android years.
[Xposed Framework Modules] dioii:
Is it possible to get a t9 phonepad in it?
[Xposed Framework Modules] biebie29:
it is running latest version of swiftkey and running 5.0.1 i know it is v5 but ive tried all versions of exi and none works
[Xposed Framework Modules] oroboros74:
I'm on Oreo, so it should be there right? How exactly to access undo/redo using Exi? Sorry for the dumb question.
[Xposed Framework Modules] Roughy:
It is a "text action". You'll find it listed along with copy/cut/paste and all that stuff when configuring the quick-menu or hot-keys.

Please install the latest version of Exi (1.8.2) along with a matching version of Swiftkey ( 7.1.9.24 - 7.2.1.17, latest of either should be fine). If you are installing Swiftkey via the play store, confirm that the version being installed matches your expectations.

When does Swiftkey crash? Is it crashing, or "freezing" with a "App is not responding" message? In the case of the latter, just hit "wait" and let it finish working.

In the case of the former, I am going to need a logcat dump. The easiest way to produce this is to enable developer options on your phone, and using the "take bug report" button to generate a complete bug report. It will generate a zip file containing a bunch of info, including a large text file which includes the logcat dump. Do this immediately after attempting to launch Swiftkey. Ideally you would also force-kill Swiftkey first so we get to observe it launching with a blank slate.

You can post it here, or email it to me directly at mdawn700@gmail.com
[Xposed Framework Modules] biebie29:
it just does not open and if you open the app it crashes and i have 7.1.924 alongside exi 1.8.2 no luck
[Xposed Framework Modules] Gbrl95:
Hi! I turned on the "Allow NSFW GIF" but somehow when I've tested it through multiple searches multiple times, It only shows "No search result found".
[Xposed Framework Modules] oroboros74:
Can you tell me : what font are you using?
[Xposed Framework Modules] Gbrl95:
I'm using Harmonia Sans Condense Flipfont on my SM G900F, Marshmallow by xxx no limits. :)
[Xposed Framework Modules] Kglim:
Swipe up space bar function is available but it must be really quick from space bar to select one. Could you plz fix this? If i do that slowly, it doen't work at all
[Xposed Framework Modules] n0j0e:
Exi 1.8.2 short test with the new SwiftKey 7.2.0.18 from Play Store. Works!

Sent with much love & Android. OnePlus 5T
[Xposed Framework Modules] iamMG:
OMG I can't believe. I came to this forum suggesting [MENTION=6797900]Roughy[/MENTION] to implement Undo-Redo feature, and I saw a comment such as that already exists. :D

On a serious note, is it possible to maybe do a collaboration with the author of that module? Like implement his already created code with the shortcuts in Exi?

Here are the links pertaining to that module. There doesn't seem to be any xda post about the module though.

https://repo.xposed.info/module/top.imlk.undo

https://github.com/KB5201314/UndoForAndroid
[Xposed Framework Modules] Roughy:
That's strange, seems to still be working fine on my end.

It's implemented by hooking a platform class, so it unlikely to be affected by changes made by Swiftkey.

Anything in the xposed log? What eversion of android, swiftkey, and this module?

That shouldn't be happening.

I know it doesn't work at all on some Chinese layouts, but this is the first I've heard of it only working if done really fast.

Could you tell me your version of Android, Swiftkey, and the module? Also what keyboard language/layout and any options that may be changing the layout.

With undo/redo being natively implemented in Marshmallow, this would only help users still running Lollipop.

Packing the entire thing into Exi would honestly not be worth the effort for me in this scenario.

However, it should be trivial for the author to make his undo/redo functions respond to the same context menu actions (undo/redo) that exist since marshmallow. Then I wouldn't really have to do anything on my end, other than keep it in the list of configurable actions after checking if his module exists.
[Xposed Framework Modules] Techvir:
[MENTION=6797900]Roughy[/MENTION],

I think this has been asked before, but is it possible to make it work without xposed? Like making a magisk version ?

The reason I ask is , with each new android update it takes a long time for a reasonable working version of xposed to come out. I waited for few months but finally decided to update to PIE and I miss this module horribly.... Typing is not the same anymore.

Thank you
[Xposed Framework Modules] Roughy:
Edit: Problems on pie. Will need to make some changes to maybe make it compatible.

Edit2: Working around the problems with Tai-Chi on Pie would require a lot of trial and error, but since it limits you to a specific version of Exi I can't test new versions. tl;dr we're screwed.

There have been several mentions of using Tai-Chi in the past, but the author is very cautious and is vetting each individual version of each module.

I just gave it a go on a Nougat device, and it... works!

The author will probably allow for newer versions of the module as they update it, but for now we are limited to 1.8.1, and a matching version of Swiftkey Stable ( beta won't work ).

As of writing ( Tai Chi 4.0.2 ) you want to use the following:

Exi for Swiftkey 1.8.1 from the Xposed Repository (click older versions at the bottom )

Swiftkey Stable 7.1.9.24 from apkmirror. Make sure to get the right one for your architecture.

Edit: Tai-Chi's only supports armv7, so use that apk even if you're on an armv8 device.

Remove your existing Swiftkey and Exi install (if any), and install the versions you just downloaded. After that just follow the instructions on Tai-Chi's site.

Note that the first time you launch Swiftkey after activating the module, the one-time setup will take a veeeeeeeeery long time.

With the actual Xposed Framework it would take something like 20 seconds, but running via Tai Chi it's more like 5 minutes!

You'll basically just be frozen on the Swiftkey splashscreen for a very long time. If you're on Pie ( if this works there), you'll probably want to enable "show background ANRs" just in case. If it crashes at this point it's probably because of the new crash-instead-of-ANR thing in Pie.

After the first time setup has completed it will work as normal.

Subsequent launches ( generally only when you reboot your device ) also take a bit longer than normal; 10 seconds or so rather than the normal 1 second, but that shouldn't really be much of an issue.

Remember to open the Exi config app first to populate the quick menu and such.

I'll probably do a proper write-up later, once I've tried it on Pie too.

I don't actually own any physical Pie devices, and Tai Chi doesn't come with x86 binaries, so testing it in the emulator is painfully slow.

I would love to hear if it works there too.
[Xposed Framework Modules] fijasko:
Hi, [MENTION=6797900]Roughy[/MENTION], thanks for this amazing module.

I just tried making it work through TaiChi on Pie and TaiChi crashes every time I try to create a new SwitfKey app.

Attached is the crash log.

Tried with Exi for Swiftkey 1.8.1 and Swiftkey Stable 7.1.9.24.

The other module and modifed app I use via TaiChi (Xinsta and Instagram) work fine on Pie, so it's Exi specifically that doesn't work for me.