Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TW-1836] task info shows stripped description for annotated tasks #1852

Closed
taskwarrior opened this issue Feb 14, 2018 · 7 comments
Closed
Labels
eval:reproduced type:bug Something isn't working
Milestone

Comments

@taskwarrior
Copy link

Klas Š. on 2016-08-01T09:11:47Z says:

Two other condition of reproducing the bug:

  • description should be in Cyrillic (probably will work with any non-ASCII alphabet/writing system)
  • task should be urgent enough to be highlighted.

Steps to reproduce:
{code}
% task add "Съесть ещё этих мягких французских булок"
Created task 1.

% task 1 mod pri:H
Modifying task 1 'Съесть ещё этих мягких французских булок'.
Modified 1 task.

% task 1 info

Name Value
ID 1
Description Съесть ещё этих мягких французских булок
Status Pending

% task 1 annotate "Да выпить чаю"
Annotating task 1 'Съесть ещё этих мягких французских булок'.
Annotated 1 task.

% task 1 info

Name Value
ID 1
Description Съесть ещё этих мягки�
2016-08-01 11:58:45 Да выпить чаю
Status Pending

% task 1 mod pri:
Modifying task 1 'Съесть ещё этих мягких французских булок'.
Modified 1 task.

% task 1 info

Name Value
ID 1
Description Съесть ещё этих мягких французских булок
2016-08-01 11:58:45 Да выпить чаю
Status Pending
{code}

@taskwarrior taskwarrior added this to the 2.6.0 milestone Feb 14, 2018
@taskwarrior taskwarrior added the type:bug Something isn't working label Feb 14, 2018
@taskwarrior
Copy link
Author

Migrated metadata:

Created: 2016-08-01T09:11:47Z
Modified: 2017-10-12T02:57:45Z

@taskwarrior
Copy link
Author

Paul Beckingham on 2016-08-01T22:42:33Z says:

Similar problem, different use case.

@grayed
Copy link

grayed commented Jul 10, 2018

Just got a similar same problem on 2.5.1, but when using tagged task instead of prioritized one. It looks like somewhere byte-specific routine is called instead of character-specific, since Cyrillic UTF-8 characters are 2 bytes long.

@dniku
Copy link
Contributor

dniku commented Feb 18, 2019

Also reproduced this on 2.5.1.

@laeder
Copy link

laeder commented Jun 14, 2019

I have the same problem using Swedish, discovered it today. Every line in Description is missing 1 or more characters except the last one. The first line should end with the word 'börjar'. I'm also using 2.5.1.

Name          Value                                                      
ID            6
Description   Håll koll på när NCIS Los Angeles bö                       
                2019-06-13 19:46:12 Även vanliga NCI                     
                2019-06-14 07:56:47 NCIS börjar 24 septembe              
                2019-06-14 09:52:21 NCIS: Los Angeles börjar 29 september
Status        Pending
Entered       2019-06-10 20:20:32 (3d)                                   
Scheduled     2019-09-01 00:00:00
Last modified 2019-06-14 09:52:21 (46min)                                
Virtual tags  ANNOTATED PENDING SCHEDULED UNBLOCKED
UUID          f269de8b-8b93-4540-b995-81e5216bf1ca                       
Urgency       1.016

    annotations      1 *    1 =      1
    age          0.008 *    2 =  0.016
                                ------
                                 1.016

Date                Modification                                                
2019-06-13 19:46:12 Annotation of 'Även vanliga NCIS' added
2019-06-14 07:56:47 Annotation of 'NCIS börjar 24 september' added              
2019-06-14 09:52:21 Annotation of 'NCIS: Los Angeles börjar 29 september' added.

@Dahko
Copy link

Dahko commented Dec 1, 2020

I've just built the 2.6.0 branch and found this issue already fixed.
Old comment:
+1 here. To add some details: MacOS Catalina, taskwarrior 2.5.1 via Homebrew, reproduces on both system Terminal and iTerm.
Is there maybe an insight where to look in the code to try fixing this myself?

@tbabej
Copy link
Sponsor Member

tbabej commented Jun 27, 2021

Confirming this can be reproduced on 2.5.1, but is fixed on 2.5.3 or later.

[warrior@tw-v2.5.3 ~]$ task add Håll koll på när NCIS Los Angeles börjar
Created task 1.
[warrior@tw-v2.5.3 ~]$ task 1 ann Även vanliga NCIS
Annotating task 1 'Håll koll på när NCIS Los Angeles börjar'.
Annotated 1 task.
[warrior@tw-v2.5.3 ~]$ task 1 info

Name          Value                                    
ID            1                                        
Description   Håll koll på när NCIS Los Angeles börjar
                2021-06-27 03:49:17 Även vanliga NCIS

@tbabej tbabej closed this as completed Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eval:reproduced type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants