Zim

on zim 0.65-2 delete and undo are broken with Hebrew diacritics

Bug #1562309 reported by Elad Hen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

When writing in Hebrew on Zim 0.65-2 on Ubuntu Mate 16.04 (beta 2) something very strange is going on with deleting and undoing diacritics. I've worked for very long on version 0.60 and this problem is new.

Lets take this word:
שלום
I can add a diacritic sign (see attached zimbug01.png)
שלוֹם
When I try to delete a diacritic sign in zim 0.65-2 the sign is deleted but the letters of the word suddenly change order (see attached zimbug02.png):
ושלם
To add to the strangeness – if I try to undo this action (or any other action involving diacritics) the letters get shuffled again (see attached zimbug04.png):
לםוֹ

(Just to make things clear – this doesn't happen in other apps using Hebrew as far as I saw).

I really don't know what the source of the problem is but I would really want it to be solved, because I can't do any serious work with Zim while this bug exists...

I've added some

Revision history for this message
Elad Hen (eladhen2) wrote :
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1562309] [NEW] on zim 0.65-2 delete and undo are broken with Hebrew diacritics

In order to be able to debug I should be able to reproduce. Running ubuntu
myself in english configuration. I can install hebrew language packs, but
for typing I only have an "qwerty" keyboard.

If you can give instructions what to install and how to type this word
sequence, I can try to reproduce.

Regards,

Jaap

On Sat, Mar 26, 2016 at 2:38 PM, Elad Hen <email address hidden> wrote:

> Public bug reported:
>
> When writing in Hebrew on Zim 0.65-2 on Ubuntu Mate 16.04 (beta 2)
> something very strange is going on with deleting and undoing diacritics.
> I've worked for very long on version 0.60 and this problem is new.
>
> Lets take this word:
> שלום
> I can add a diacritic sign (see attached zimbug01.png)
> שלוֹם
> When I try to delete a diacritic sign in zim 0.65-2 the sign is deleted
> but the letters of the word suddenly change order (see attached
> zimbug02.png):
> ושלם
> To add to the strangeness – if I try to undo this action (or any other
> action involving diacritics) the letters get shuffled again (see attached
> zimbug04.png):
> לםוֹ
>
> (Just to make things clear – this doesn't happen in other apps using
> Hebrew as far as I saw).
>
> I really don't know what the source of the problem is but I would really
> want it to be solved, because I can't do any serious work with Zim while
> this bug exists...
>
> I've added some
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
>
> ** Tags: delete diacritics hebrew undo
>
> ** Attachment added: "screenshots of the bug"
>
> https://bugs.launchpad.net/bugs/1562309/+attachment/4612457/+files/zimbug.zip
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1562309
>
> Title:
> on zim 0.65-2 delete and undo are broken with Hebrew diacritics
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1562309/+subscriptions
>

Revision history for this message
Elad Hen (eladhen2) wrote :

Hi Jaap,

I'm not running Ubuntu MATE 16.04 anymore (Yes, Zim is such an important part of my workflow that if it doesn't work I would jump ship to a distro where it works).

But let's try and do this:

You need to enable the keyboard layout: Hebrew (lyx). This layout gives easy access to diacritics. As far as I know, you don't need to install anything. It's in the options in your keyboard layouts (how to get there is DE dependent).

Then, in order to write the example I gave you need to switch to the Hebrew (lyx) layout and write "akuo" (without the quotation marks). This will give you:

שלום

Now, bring your courser to the left of the the second letter from the right (ו), and press shift+u. This should give you the diacritic:

שלוֹם

you can try out other diacritics with shift+a, shift+s, shift+x, shift+j and many more.

I hope this is helpful. I really love Zim and love the fact that it has awesome Hebrew support. I would really like it to stay so.

Revision history for this message
Elad Hen (eladhen2) wrote :

OK, I just spun the release version of Ubuntu MATE 16.04 in a VirtualBox and tried Zim 0.65-2 on it and I don't get this bug again, so I don't know what to say...

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1562309] Re: on zim 0.65-2 delete and undo are broken with Hebrew diacritics

Hi Elad,

Weird if it depends on the OS you are using, that suggest the issue is
somewhere in the dependencies rather than in zim itself.

Maybe the best way forward is to capture this issue in an automated test
case. In that case at least if it comes back the test suite will hopefully
capture it. Assuming that the diacritics are separate unicode characters,
we could re-play the sequence in a script and test the outcome after undo /
redo.

Regards,

Jaap

On Sun, Apr 24, 2016 at 4:25 PM Elad Hen <email address hidden> wrote:

> OK, I just spun the release version of Ubuntu MATE 16.04 in a VirtualBox
> and tried Zim 0.65-2 on it and I don't get this bug again, so I don't
> know what to say...
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1562309
>
> Title:
> on zim 0.65-2 delete and undo are broken with Hebrew diacritics
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1562309/+subscriptions
>

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.