Bug 406291 - Weird behavior when adding tags beginning with characters like 'Š'
Summary: Weird behavior when adding tags beginning with characters like 'Š'
Status: RESOLVED DUPLICATE of bug 405777
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-07 10:36 UTC by Matej Mrenica
Modified: 2019-04-30 16:47 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Mrenica 2019-04-07 10:36:59 UTC
OBSERVED BEHAVIOR
1. Create a tag named "Škola" and add it to a folder -> this creates a new tag named "Škola" and assigns it to the folder

2. Assign tag "Škola" to a second folder -> this creates a new tag "&kola" and assigns it to the folder

3. Assign tag "Škola to a third folder -> this creates a new tag "k&ola" and
assigns it to the folder

...

4. continuing like this, 6th and all following folders, will end up with tag named "kola"

EXPECTED BEHAVIOR
All folder will get tag named "Škola"

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56
KDE Applications Version: 18.03.90
Qt Version: 5.13.0-beta1
Comment 1 Matej Mrenica 2019-04-07 17:52:11 UTC
It looks like it's not only the character 'Š' but also every big letter with 'ˇ' on top, but not small characters nor any characters with '´'
Comment 2 Stefan Brüns 2019-04-07 22:54:25 UTC
For the folder tagged with "Škola", can you please run:

$> getfattr -d -e text <path>
$> getfattr -d -e hex <path>
Comment 3 Matej Mrenica 2019-04-08 06:01:09 UTC
(In reply to Stefan Brüns from comment #2)
> For the folder tagged with "Škola", can you please run:
> 
> $> getfattr -d -e text <path>
> $> getfattr -d -e hex <path>

# file: Folder1
user.xdg.tags="Škola"

# file: Folder1
user.xdg.tags=0xc5a06b6f6c61

# file: Folder2
user.xdg.tags="&kola"

# file: Folder2
user.xdg.tags=0x266b6f6c61

# file: Folder3
user.xdg.tags="k&ola"

# file: Folder3
user.xdg.tags=0x6b266f6c61


First item is always right, only the following are wrong
Comment 4 Patrick Silva 2019-04-26 15:25:10 UTC
It seems related to bug 405777
Comment 5 Stefan Brüns 2019-04-26 20:46:52 UTC
Bug 405777 contains the relevant information - it only happens when the context menu is used, but not when tags are added e.g. using the Information Panel in Dolphin or using the "Properties" dialog.

*** This bug has been marked as a duplicate of bug 405777 ***
Comment 6 Nate Graham 2019-04-30 16:47:54 UTC
Yep, I can confirm that this was fixed by the fix for Bug 405777.