iOS app crashing when trying to edit long tag

Testing version:
iOS 2.0 (10939)

What were you doing:
Clicking the “Edit tag” option in left panel in iOS app. Tag name was long (more than 21 characters - xyzsthisisaverylongsubtag).

What feature did you use:
Edit tag (iOS app - long press on tag).

What happened:
App froze and and crashed after a few moments.

What did you expect to happen:
The tag editing menu should appear.

It seems that the maximum editable character count is 21 - I was able to open the edit menu for xyzsthisisaverylongsu tag, but it crashed for xyzsthisisaverylongsub. This is also happening for the subtags, but there it looks like the slash (/) is counted as 2 chars (xyz/thisisaverylongs - ok, xyz/thisisaverylongsu - crashed).
On MacOS everything is working fine.

1 Like

Hello, and thanks for reporting this bug. I think something else other than the tag length might be involved here. Have you submitted a report via TestFlight for this bug? Any chance you remember the comment you added? Finding the crash related to this report might be very useful in understanding what’s crashing.

Hello, I did not before, but I did it just now, the note I put: “Clicked ‘edit tag’ from the tags menu.”

Thanks for investigating this.

1 Like

Hi Again,

can you please test this bug with the latest build?


I tested it (build 10984), this time a little more systematically, and unfortunately it’s still happening.
You are right about that it’s something else (more?) than the length of the tags - this time I used different character sequences and the failing char count changed.

Here’s the tags I created with the result of the edit option click (I didn’t check every one of them):

1. #a ok
2. #ab ok
3. #abc ok
4. #abcd ok
5. #abcde ok 
6. #abcdef (not possible to check, rendered as color, not a tag)
7. #abcdefg ok
8. #abcdefgh ok
9. #abcdefghi ok
10. #abcdefghij ok
11. #abcdefghijk ok
12. #abcdefghijkl ok
13. #abcdefghijklm ok
14. #abcdefghijklmn ok
15. #abcdefghijklmno ok
16. #abcdefghijklmnop ok
17. #abcdefghijklmnopq ok
18. #abcdefghijklmnopqr ok
19. #abcdefghijklmnopqrs ok
20. #abcdefghijklmnopqrst fail
21. #abcdefghijklmnopqrstu fail
22. #abcdefghijklmnopqrstuv fail
23. #abcdefghijklmnopqrstuvw 
24. #abcdefghijklmnopqrstuvwx fail
25. #abcdefghijklmnopqrstuvwxy 
26. #abcdefghijklmnopqrstuvwxyz fail
27. #abcdefghijklmnopqrstuvwxyza ok
28. #abcdefghijklmnopqrstuvwxyzab 
29. #abcdefghijklmnopqrstuvwxyzabc ok
30. #abcdefghijklmnopqrstuvwxyzabcd ok
31. #abcdefghijklmnopqrstuvwxyzabcde
32. #abcdefghijklmnopqrstuvwxyzabcdef
33. #abcdefghijklmnopqrstuvwxyzabcdefg ok
34. #abcdefghijklmnopqrstuvwxyzabcdefgh ok
35. #abcdefghijklmnopqrstuvwxyzabcdefghi
36. #abcdefghijklmnopqrstuvwxyzabcdefghij
37. #abcdefghijklmnopqrstuvwxyzabcdefghijk ok
38. #abcdefghijklmnopqrstuvwxyzabcdefghijkl ok
39. #abcdefghijklmnopqrstuvwxyzabcdefghijklm fail
40. #abcdefghijklmnopqrstuvwxyzabcdefghijklmn
41. #abcdefghijklmnopqrstuvwxyzabcdefghijklmno
42. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnop
43. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopq 
44. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqr fail 
45. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrs fail
46. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst
47. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu
48. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv
49. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw
50. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwx
51. #abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy fail

I sent 2 reports during those tests via Test Flight (with the notes: “Tukan’s Tag edit bug 1” and “Tukan’s Tag edit bug 2”).

Late Evening Aha Moment Update:

I think the source of the problem somehow lies in the UI rendering of the ‘Edit Tag’ pop-up. The program freezes when the tag is long enough to wrap to new line. I didn’t check after how many additional characters (or pixels?) in the new line the freezing stops.

For those tags the edit pop-up will show up:

And for those (one character in the new line) it won’t (the app will freeze):

And now the best part - the problem occurs only when the light theme is active. With the dark theme everything is working fine.

I hope this will help you find the root cause of this bug.

Problem still exists in build 11093.

1 Like