Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Another problem with open animation #58

Open
Peter2121 opened this issue Feb 24, 2020 · 7 comments
Open

Another problem with open animation #58

Peter2121 opened this issue Feb 24, 2020 · 7 comments
Assignees
Labels

Comments

@Peter2121
Copy link
Contributor

EFL built from GIT
Ecrire built from GIT
FreeBSD 11.3 OS

In most cases, after opening a large file (~1000 lines), pressing 'left' and 'right' buttons does not move the cursor correctly.

I can put the cursor everywhere using the mouse and I can move it correctly with 'up' and 'down' buttons. But when I move the cursor with 'right' or 'left' button - it stays at the old place. Really, it is just not rendered, as if I move it then with 'up' button - it is rendered as if it was moved before (on left or on right) on another line (shifted to the left or to the right from the previously visible position).

If I disable the open animation - the problem disappears.

I asked an EDI developer - he has not such problem in EDI, he thinks that the problem is somewhere in Ecrire code.

@wltjr
Copy link
Member

wltjr commented Feb 26, 2020

That is pretty interesting, thank you for the report! If it cannot be replicated in EDI or elementary_test, then its ecrire specific. The issue maybe a result of changes made to address the other issue #50. Either way, I will look into this and hopefully, resolve ASAP.

@wltjr wltjr added the bug label Mar 25, 2020
@wltjr wltjr self-assigned this Mar 25, 2020
@wltjr
Copy link
Member

wltjr commented Mar 25, 2020

@Peter2121 sorry for the delay, I can confirm the issue you experienced. Even more strange, if I open a file from command line, with animation on open enabled, I can move the cursor left and right. If I open the same file again, after ecrire has started, I cannot move the cursors left or right.

I also discussed it with @haxworx on irc a few days back, there is a slight chance it was resolved in EFL. I have not built EFL from git to test that. If after the next EFL release it is not resolved, I will dig further into what in ecrire code is causing the issue, and/or work on a fix.

@haxworx
Copy link

haxworx commented Mar 25, 2020 via email

@wltjr
Copy link
Member

wltjr commented Mar 25, 2020

@haxworx I am using EFL 1.23.3, with ecrire from git. I need to do a new release of ecrire. I am not using EFL from git due to the removal of xine support. I need to modify my ebuild for gstreamer only. I can see about modifying my ebuild and testing out efl from git.

@wltjr
Copy link
Member

wltjr commented Mar 25, 2020

@haxworx just tried with EFL from git, and sadly, the issue remains. I will have to look further into ecrire or other code as to what is causing this issue, and continue to test under EFL from git.

@haxworx
Copy link

haxworx commented Mar 26, 2020 via email

@wltjr
Copy link
Member

wltjr commented Apr 6, 2020

@haxworx sorry for the delay. The issue can be reproduced using a document that has long lines. I went to this website, https://lipsum.com, set it to 50 paragraphs, and saved that to a document. I then opened that document with ecrire.

To replicate the problem.

  1. Start Ecrire
  2. Open a document with long lines, > 1000 characters per line, using the EFL file manager to find and open the document.
  3. Move the cursor to a long line with the mouse.
  4. Try to move the cursor forward or backward with the arrow buttons, left/right.
  • The cursor does not move, it only moves up and down, not left or right.

If you open the document from command line, ecrire lorem_ipsum.txt, then the problem does not appear. It only occurs when you open a document with ecrire already running.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants