yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Zoltair Wright:
module is awesome! thank you x 1000

there are so many options, feel silly bc I only use for copy and paste

one suggestion - the pie menu for copy/paste/etc is really neat but sometimes I activate by accident

once that happens there's no way to cancel

would it be possible to only do the selected action if I release my finger on top of the pie "slice"

like, if I drag my finger above or below the pie menu the menu cancels and there's no vibration feedback

just a thought. overall though wouldn't change it rocks
[Xposed Framework Modules] kaihansen2001:
I still need the option to hide or make something like with the dot button to not click the options menu button.
[Xposed Framework Modules] jaggillararla:
Is it possible to remove multilingual predictions? If so and make the 123 tab as gboard
[Xposed Framework Modules] Colchenero:
[MENTION=6797900]Roughy[/MENTION] please please please ? add opening and closing animations, just slide up in opening and slide down in closing like other keyboards.... Please Sir...

Thanks in advance ?️
[Xposed Framework Modules] oroboros74:
[MENTION=6797900]Roughy[/MENTION] I think it might be cool if Exi would let the user choose the skin color to be applied to all the emojis automatically.

So I could say all skin emojis (people, hands, etc) canoe automatically be brown or black or white... Without me having to choose one by one.

Would that be possible / useful?
[Xposed Framework Modules] rolear8:
Genius work man, is there a way to implement ctrl + z to undo changes just like in the PC?

Thanks for your amazing work
[Xposed Framework Modules] AaronCompNetSys:
The voice key problem could be bettered by adding it as a option for the pie menu or hotkey.

I would probably map all the keys on the right side of the keyboard (modifier = j,k,n,i) as voice so it is really easy to trigger with my right thumb.

Trying to trigger SwiftKey's tiny voice key while walking is just too hard and inconsistent.
[Xposed Framework Modules] ogsho:
Would be great if you had more options or sizes to increase emoji sizes above 17. Great app otherwise..
[Xposed Framework Modules] Roughy:
I'm still in working-on-other-stuff-so-no-updates-unless-things-break-horribly mode.

Having said that, most of you probably think I'm dead by now so let's reply to some posts.

We also now have translations for Croation courtesy of Dino (dugi991), which will be included in the next update.

Which, again, will probably be the next time something breaks horribly.

Yup, that definitely needs to be a thing. Will do next time I have to fix other stuff.

With one of the later beta releases that button is now a plus icon, and does... more important stuff.

Last time I had to mess around with the candidate bar layout I didn't run into anything relating to it there, so it's nested somewhere deeper.

Any languages that share the same layout will end up being multi-language, though in most cases you should be able to manually specify a separate language for each. Might not be a thing for all languages. Changing the 123 - symbols tab has come up a couple of times, and was on the to-do list before they refactored the code for it and ruined all my work. Maybe some day.

While neat, initial research suggests it would be... a major pain. Unfortunately not going to be a priority.

That would be fairly straight-forward. Whether it would be useful or not ... ¯\_(ツ)_/¯

I'll add it to the list of minor change I can make when I don't feel like doing any real work.

Ah yes, that be lovely. It's a surprisingly complex thing to do though. If/when I get back to working on adding major features this will be at the top of the list.

I believe the voice input is a separate activity, so I should be able to launch it. I'd like to do this.

Aha! The reason the limit is 17 is because that was the largest icons that would fit back when Swiftkey displayed recent emoji at the top of the keyboard (where the candidate bar is). Now that it has been moved to its own emoji panel upping that limit shouldn't pose a problem. I'll do that.
[Xposed Framework Modules] wokawoka:
Hello, thank you for this very useful module!

I use swiftkey a lot together with an hardware keyboard. Even with an hardware keyboard I still need swiftkey's suggestion bar because I write using multiple different languages.

Would it be possible to implement a function that would allow to assign/bind the 3 swiftkey suggested words to a hardware keyboard shortcut (like for example F1,F2,F3 or alt+1, alt+2, alt+3, or whatever hardware shortcut would be possible)?

It would be just great not to have to select them touching the screen and immensely helpful (and I'm sure I'm not the only one using hardware keyboards on android).

Is that something potentially feasible?

Thank you again and keep up with the great job you are doing.
[Xposed Framework Modules] Roughy:
Looking through Swiftkey's own documentation, it would appear that is already supported natively:
[Xposed Framework Modules] wokawoka:
Thank you for your reply Rough.

I knew that I had to search a bit more on the documentation...

But still, I think that even with SwiftKey's already built-in hardware keyboard shortcuts many limitations are present.

The two problems that I'm facing are:

1 - SwiftKey's vanilla prediction keyboard shortcuts work only when an hardware keyboard is detected on the system. I regularly control my android mobile from my laptop via ADB (since recently I'm using the excellent scrcpy https://github.com/Genymobile/scrcpy) and right in this moment I'm writing this post from my laptop's keyboard. I confirm that the prediction shortcuts (Ctrl+1,2,3) doesn't work while an hardware keyboard is not present. (But I can imagine that unfortunately the possibility to eventually change this behavior through a module are really slim in this case).

2 - The second problem is that I love phones with hardware keyboards and that my old trusty photon Q (but mostly any phone with hardware keyboard) doesn't have any CTRL key.

SwiftKey prediction shortcuts probably work very well with Bluetooth external keyboard but from what I see can't be used directly on phones with hardware keyboards.

Then the possibility to remap the shortcut to another combo would be just great (SYM+1,2,3 would be ideal).

Look at the Motorola photon Q keyboard:

https://s.blogcdn.com/www.engadget.com/media/2012/08/dsc01532-1345569959.jpg

But the same is for any recent Blackberry Android phone:

https://i.gadgets360cdn.com/large/b...ight_ndtv_1501571845693.jpg?output-format=jpg or https://s.aolcdn.com/hss/storage/mi...e36aacf5/203158194/blackberry-priv-irl-2.jpg.

I don't have these phones with me in this right moment (nor any external bluetooth keyboard) so I'll do some more tests when I'll be back home on Wednesday. Trying to rebind the CTRL button to another one at the OS level could also be a possibility so I'll try to do some tests about that as well.

Thank you very much once again!
[Xposed Framework Modules] Roughy:
This should be entirely doable for a normal hardware keyboard.

The reason Swiftkey's shortcut key combos don't work with Scrcpy is because it doesn't transmit them. Ctrl and function keys are both ignored completely, probably because Scrcpy defines its own set of ctrl hotkey combos for pasting the computer's clipboard or switching to fullscreen.

The story is similar with the shift key, which is transmitted as a single event [shift][a] after pressing both keys, instead of as individually when each key is pressed.
[Xposed Framework Modules] wokawoka:
I just did a couple of tests with my devices:

- the hardware keyboard shortcuts (CTRL+1,2,3) for swiftkey's word suggestions work regularly from any external keyboard connected via bluetooth.

- unfortunately I was not able to select any suggestion using two phones with an integrated hardware keyboard (my motorola photon q and my father's blackberry priv). On these two phones Swiftkey recognises the hardware keyboard (so that it shows on-screen only the row with the suggestions and not the whole touch keyboard) but there's no way to send the CTRL+1,2,3 keyboard shortcut since these phones are lacking the CTRL button.

Would it be evntually possible to rebind this combination to another button through your Exi module?

Thanks again!
[Xposed Framework Modules] Roughy:
Doing this for proper hardware keyboards shouldn't be a problem. I'm already prepping a release with a few new other features, so that should be ready in a couple of days.

I can't do anything about getting this to work with Scrcpy though, since it doesn't send the key events at all. You might want to hit up the developer to see if anything can be done about that.
[Xposed Framework Modules] wokawoka:
Great news! Thank you so much.

Concerning Scrcpy, earlier I even did some tests and yes, you are right, Scrcpy doesn't send the key events. And even if it would send them, without any hardware keyboard connected to the mirrored phone Scrcpy is just mirroring the full touch keyboard without any possibility to use the swiftkey prediction shortcuts. When Scrcpy is mirroring a phone with an hardware keyboard attached the touch keyboard is correclty limited to the suggestions row but the CTRL+1,2,3 combination are not sent from Scrcpy to the phone.

IThe project is really new tough, as soon as I'll have more time I'll go through the github issues to see if these functions are planned for the future.

In the meanwhile I look forward your next release. It will be very useful for any hardware keyboard user.

Thanks again!
[Xposed Framework Modules] NAerop:
works fine with SwiftKey Keyboard 7.0.0.16
[Xposed Framework Modules] Roughy:
And 7.0.1.16! The play store forgot to notify me of the update and I didn't notice until now, thanks for the heads-up!

I check the logs for any obvious errors and do a run through most features every time there's an update, but depending on how things break there's a good chance I might miss something. A heads-up is always appreciated.
[Xposed Framework Modules] Pariah24:
Two-finger gesture

I can't seem to figure out how the two-finger gesture for selecting is activated. I get how to use it with the shift and delete keys but I can't make the other option do anything.
[Xposed Framework Modules] Roughy:
Unless something has broken horribly (Which doesn't seem to be the case), two-finger gesture selection is activated by first placing one finger on the screen, then swiping with the other.

The swipe-selection gif shows how it's used roughly halfways through: https://gfycat.com/MatureCleanCopperbutterfly

Once swipe mode has been entered, you can continue to swipe with either finger to move its respective cursor, as long as one finger stays in contact with the screen.

You can also enter selection mode by swiping with one finger from shift / delete, and then switch to using two fingers.

If you are using hold-any-and-swipe as your primary swipe mode, the gesture that would normally activate selection is reserved for activating normal swipe selection so that you can still use flow text input. In order to active selection using the two-finger gesture, you have to first activate swipe selection by pressing with one finger and swiping with the other, than lifting the first finger and swipe with it.
[Xposed Framework Modules] Pariah24:
Ok I got it to work now, thanks
[Xposed Framework Modules] b_d45:
SwiftKey doesn't pop up neither does the SwiftKey app open.

01-03 09:42:53.629 I/Xposed ( 872): -----------------

01-03 09:42:53.629 I/Xposed ( 872): Starting Xposed version 87.3 (Systemless by topjohnwu), compiled for SDK 23

01-03 09:42:53.629 I/Xposed ( 872): Device: SM-G532G (samsung), Android version 6.0.1 (SDK 23)

01-03 09:42:53.629 I/Xposed ( 872): ROM: MMB29T.G532GDXU1AQI2

01-03 09:42:53.629 I/Xposed ( 872): Build fingerprint: samsung/grandppltedx/grandpplte:6.0.1/MMB29T/G532GDXU1AQI2:user/release-keys

01-03 09:42:53.629 I/Xposed ( 872): Platform: armeabi-v7a, 32-bit binary, system server: yes

01-03 09:42:53.629 I/Xposed ( 872): SELinux enabled: yes, enforcing: no

01-03 09:42:53.679 I/Xposed ( 872): -----------------

01-03 09:42:53.679 I/Xposed ( 872): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH

01-03 09:42:54.399 I/Xposed ( 872): Detected ART runtime

01-03 09:42:54.489 I/Xposed ( 872): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing

01-03 09:42:55.719 I/Xposed ( 872): Loading modules from /data/app/com.smartmadsoft.xposed.aio-1/base.apk

01-03 09:42:55.769 I/Xposed ( 872): Loading class com.smartmadsoft.xposed.aio.Loader

01-03 09:42:55.819 I/Xposed ( 872): Loading modules from /data/app/com.mayulive.swiftkeyexi-1/base.apk

01-03 09:42:55.849 I/Xposed ( 872): Loading class com.mayulive.swiftkeyexi.LoadPackageHook

01-03 09:43:29.129 I/Xposed ( 6995): Exi/LoadPackageHook, Module loaded in com.touchtype.swiftkey

03-21 21:21:21.662 I/Xposed ( 7991): Exi/LoadPackageHook, Module loaded in com.touchtype.swiftkey
[Xposed Framework Modules] Roughy:
Swiftkey version, module version, and logcat output if possible please.

If you do not wish to submit a complete logcat dump, we are primarily interested in anything that mentions swiftkey or is tagged with "/Exi"

You say neither the Swiftkey keyboard or app will open.

Are they crashing? Does the problem persist with the module removed?
[Xposed Framework Modules] oroboros74:
I'm not entirely sure what I'm going to describe stems from how Exi copy/pastes, but I'm hoping maybe Dev can do something so Exi corrects the behavior...

I've noticed on at least two occasions that when I copy an URL (I don't think it happens with other text, just URLs?) and paste it via Exi to an email with text before and after via Gmail, the cursor jumps from the last position after pasting to somewhere else, and even when I try to "fix" the text the cursor location moves. It's as if there's some other invisible character somewhere, and when the cursor reaches it, it just moves somewhere in the text.

Sorry that's the best I can go to explain, hopefully someone knows what I'm talking about!
[Xposed Framework Modules] Roughy:
As a result of adding support for RTL languages there's a lot of nasty hacks in how Exi handles cursor movement. This is particularly suspect because we often end up having to move the cursor to the last character in the string to make it appear in the visually correct position.

One might also consider that vertical cursor movement might be trigger, since it will jump to the beginning/end of a line if already at the top/and bottom.

However, neither of these behaviors should come into play when you are pasting text. Even the "Disable jumping cursor" option is implemented by preventing one of Swiftkey's methods from running, not by manually positioning the cursor.

Pasting is handled by sending a request for the action to the system, so we aren't manually messing with anything. We do not actively monitor the cursor position unless we are in the process of moving it, so if it pasting alone is enough to trigger the behavior it /probably/ isn't being caused by anything Exi is doing.

The fact that you are unable to position the cursor correctly in the resulting text would suggest that it is somehow being polluted with a character that is really confusing something, probably Swiftkey itself.

Is is possible to reproduce the issue by opening/editing an old mail where the issue occurred and attempting to move the cursor?

If you are ever successful in reproducing the issue, you could forward me a copy of an email (with irrelevant text removed) at [mdawn700]@[gmail.com] and I could have a go at reproducing the issue.
[Xposed Framework Modules] Apon77:
Gesture problem

Swipe gesture is not working.. I mean flow gesture not working.. Aosp 8.1 mido
[Xposed Framework Modules] Roughy:
If you have Swipe selection enabled, and the mode set to "Swipe anywhere", you will not be able to use Swiftkey's existing swipe gestures or flow input, since they all use the exact same swipe gesture input.

If you wish to continue using them, you will have to select one of the other swipe modes, such as Hold any and swipe, swipe on spacebar, hold shift and swipe, or swipe on number row.

If flow input isn't working even with swipe selection disabled in exi then we do have a problem.
[Xposed Framework Modules] Apon77:
I will check and let you know. Thank you for your time

---------- Post added at 06:22 PM ---------- Previous post was at 06:12 PM ----------

I can't find the other swipe modes.. Where is it? And exi is stopping again again when i try to open.. My swiftkey version is 6.7.8.25
[Xposed Framework Modules] Roughy:
You will find the option to change swipe modes in the Exi for Swiftkey config app, but if Exi is crashing then... something is wrong. That is new.

Thought it might be something introduced by 8.1 (last I tested was 8.0), but it is running fine in the emulator.

If you are not working with a fresh install, you might want to try uninstalling and reinstalling Exi for Swiftkey.

Regardless, a logcat dump ( copy-paste of the crash stacktrace or a full bug report) so that I can get to the bottom of it would be highly appreciated.

A full bug report can be obtained from settings - developer options (needs to be enabled first by going to "about" and tapping the build number 10 times) - take bug report.
[Xposed Framework Modules] Apon77:
https://drive.google.com/file/d/1U7RrIWCFxTra-hAWcw-C7xW2SO4KYjRM/view?usp=drivesdk may be this is the logcat file
[Xposed Framework Modules] Roughy:
You, you nailed it.

03-26 23:54:49.628 7951 7951 E AndroidRuntime: Caused by: android.database.sqlite.SQLiteException: near "null": syntax error (code 1): , while compiling: SELECT _id, text, style, type, variants, modifiers_supported FROM null
...
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.WrappedDatabase.query(WrappedDatabase.java:37)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.DatabaseMethods.getCursorToAllItems(DatabaseMethods.java:211)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.DatabaseMethods.getAllItems(DatabaseMethods.java:289)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.TableList.populateFromDb(TableList.java:339)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.TableList.populateFromDb(TableList.java:329)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.main.emoji.data.DB_EmojiPanelItem.populate(DB_EmojiPanelItem.java:153)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.DatabaseMethods.getItemsFromCursor(DatabaseMethods.java:278)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.DatabaseMethods.getAllItems(DatabaseMethods.java:290)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.database.DatabaseMethods.clearTable(DatabaseMethods.java:32)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.ExiModule.clear(ExiModule.java:109)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.ExiModule.clear(ExiModule.java:469)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.ExiModule.initialize(ExiModule.java:94)
03-26 23:54:49.628 7951 7951 E AndroidRuntime:	at com.mayulive.swiftkeyexi.MainActivity.handleFirstLaunch(MainActivity.java:101)

I now understand why it's crashing, but not how it ended up in that state.

The short story is that one of the emoji panels is looking for a child table containing a list of all its emoji.

Somehow an emoji panel is being created and saved to the database without its accompanying child table.

It is assumed that an emoji panel should have a child table, and since we don't make sure... crash.

Now we have to figure out why this is happening.

Is this a fresh install of Exi? If no, was it kept installed through an update of android?

Have you tried uninstalling and reinstalling Exi? Does the problem persist?

The code responsible for this little bit of work has been around since the very beginning, and this is the first time this problem has occurred, so hopefully it's a one-time fluke.
[Xposed Framework Modules] Apon77:
I uninstall and reinstall.. But it did not help.. And i don't know what is fresh installing.. Will you help to know..

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

I downloaded the 1 3.4 version of exi swiftkey
[Xposed Framework Modules] Roughy:
A fresh install install is the same as a clean install. I.e. installing without having a previous version installed.

Uninstalling then reinstalling would be a fresh install.

What's really strange is that at that point in time the database should be completely empty.

There shouldn't be any emoji panels for it to get the wrong child table for.

Yet somehow it is finding an emoji panel to attempt to get the child table for.

The config app never gets a chance to populate the database because it wants to make sure it's empty by clearing it first.

Hopefully removing that bit of code and just having it populate the database immediately will resolve the issue.

This is a complete shot in the dark though.

Edit5: I've added safeguards when reading or deleting a child table. Instead of crashing it will assume the table never existed.

I intentionally corrupted the data of my own database and confirmed that it copes with it.

http://www.mayulive.com/swiftkeyexi/swiftkeyexi_1.4.0_DEBUG_004.apk

Note that this is a test build that includes other incomplete features, so you shouldn't make it your daily driver.

If this is the only problem and this build resolves it, I will include the fix in the next release, which is almost ready.

I suggest you uninstall the old version and reboot before installing this. Sometimes old files aren't deleted.

I would also advise you open the config app before activating the module.

Could you let me know if this results in any change in behavior?
[Xposed Framework Modules] Apon77:
I can now open the exi app. Trying to find out about the swiping options. Because i need flow type very much, it saves my time. ?
[Xposed Framework Modules] Apon77:
Great work! I selected swipe to space bar.. And now the flow option is working! Thanks lot developer ?️

I will try to find the benefit(true potential) of this exi app now.

By the way, why you told not to use as a daily driver.? Curious mind want to know this.. What options did you omit? And this exi app is 1.4.0 where updater version is 1.4.3

Hope you understand what I am trying to say.
[Xposed Framework Modules] Roughy:
It's the build I'm readying for release, but I still need to clean up a lot of debug output, and some new features I temporarily disabled so they wouldn't cause any problems.

For the most part it should be fine, though. The only thing that won't work is the hardware key remapping stuff.

Glad we got that fixed (　｀ー´)八(｀ー´　) ＨＩ５
[Xposed Framework Modules] Apon77:
I am glad too by seeing your passion ?️

By the way what did you type before HI 5? ?️
[Xposed Framework Modules] Roughy:
Ah, that's an emoticon; a smiley.

It's supposed to be two people High-fiving eachother.