Automattic / Automattic/simplenote-ios

Updates to text system sent one operation behind

Open
#431 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
2.2k
Forks
297
Avg merge
13h 25m
Merged PRs (30d)
6

Description

I'm a developer for PadKeys Keyboard and am reporting a couple of bugs on behalf of users who've reported them to us thinking our keyboard was at fault. The user issue and analysis can be found on our support site.

[Word capitalization requested one operation late in bulleted list](http://support.padkeys.com/forums/292203-support-forum/suggestions/38121988-simplenote-and-autocapitalization)

[Selected text state updated one operation late](http://support.padkeys.com/forums/292203-support-forum/suggestions/38624623-padkeys-and-simplenote)

In both cases the issue seems to be SimpleNote sending updates to the iOS text system one operation late. It might be something to do with the sequencing or timing of the updating within the event loop.

Contributor guide

Open the contributing guide

Research direction

Start with the two linked PadKeys support reports and reproduce the capitalization and selected-text cases in SimpleNote on iOS. Trace the sequencing and timing of updates sent to the iOS text system; done means both states update in the same operation rather than one operation late.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.