Comments (20)
I am not able to replicate, likely not following same steps. Can you please describe the steps to replicate? I assume you mean;
- Right click paste text
- Try to enter text after
Something seems off with that right click paste stuff. All function and code is in elm_code, but seems something in ecrire causes problems. Given the duplicate paste that can only be replicated in ecrire for some reason with the elm_cnp stuff.
from ecrire.
Yes, paste text into ecrire using right click and try to type, nothing types.
You can either right click again, click on the titlebar (like your going to move the window), click on the bottom bar, try to resize window, or use any of the buttons or menu functions. In other words, it sort of looses keyboard focus. Moving focus away from the input field, and then back again, fixes it.
from ecrire.
Interesting, unfortunately I am not able to replicate. Are you using EFL 1.20.4 or git? Also what version of E? Though think its likely an EFL vs E problem. Are you able to replicate in elm tests or edi? Thanks!
from ecrire.
I'm using git master most of the time.
I just checked, and yes, I can reproduce this in elm test.
from ecrire.
Sounds like an elm_code bug in git EFL. Which is a new issue that did not exist. In addition to the duplicate paste with right click. Seems that whole right click handling is rather buggy.
from ecrire.
I just remembered that marcel has been working focus lately, maybe the issue is in there.
This could also be a clipboard issue. I'll mention this to him and see what we can come up with.
from ecrire.
Possibly but elm_code tends to deviate from the normal stuff pretty heavily. Most things are ajwilliams and al/netstar.
from ecrire.
I'm not sure what you mean, but Marcel (bu5hm4n) has been working on all aspects of focus lately:
https://git.enlightenment.org/core/efl.git/log/
from ecrire.
Its hard to explain. If you experience issues in elm_code not in other widgets that is the easiest way to explain. I bet the issues you are experiencing do not show in anything else. I am not sure about focus, but any elm_code bugs tend to be worked on by others as well as elm_code development.
https://git.enlightenment.org/core/efl.git/log/?qt=grep&q=elm_code
from ecrire.
Finally able to replicate this on 1.20.5. It seems to be another 2nd paste issue. I can type after the first paste, but not the 2nd.
It is a focus related issue!
Elm code does something unique when it has focus. The line the cursor is on turns black. You can clearly see on the 2nd paste when you cannot type. The line becomes grey. Indicating that elm_code lost focus. If you click in the text area of ecrire. You will notice it turns black again and you are able to type. Thus it is clearly losing focus. You likely could type if focus remained.
That it only triggers on 2nd paste. Makes me think it has something to do with the other duplicate paste issue. Though maybe unrelated. Both are triggered on 2nd paste. Not sure what makes that special. I guess some boolean or something is being toggled. Thus it works fine on 1st paste, but on 2nd it does not.
from ecrire.
Adding upstream so they are aware of issues
@Enlightenment @ajwillia-ms @zmike
from ecrire.
I cannot replicate locally with the latest focus code in EFL
from ecrire.
@ajwillia-ms
Is that efl-git or efl 1.20.6?
from ecrire.
efl-git - focus code was in the middle of being changed in 1.20.6 so if it's on that version it would be great to know if it is resolved on master.
from ecrire.
I can still reproduce the after second paste it looses focus in the code editor on EFL 1.20.6.
After second paste I can't hit enter and have to click in the box again to get the keyboard back.
Steps to reproduce:
- paste a line in code editor
- hit enter for a new line
- paste again on second line
- focus is no longer on code editor
- click back in code editor box
- can now use keyboard again
from ecrire.
Is it possible to test efl-git? This may already be fixed upstream
from ecrire.
I'll try on my test machine later. This one needs to remain on stable releases.
from ecrire.
@ajwillia-ms this still exists in 1.20.7-pre. Not sure if anything was fixed in EFL regarding focus or an elm_code specific issue. I can replicate in Elementary tests and EDI. Just as said above. The cursor goes away is the obvious tell.
After the first paste from right click, the cursor is at the end of the pasted text. When you right click and paste again, the 2nd time. The cursor does not show at the end of the pasted text. If you right click to paste again, the 3rd time, a cursor shows up again. On the 4th, it goes away. So every other.
from ecrire.
Ah I just came across this, but after talking to @haxworx seems its resolved in git, so will close when 1.21 is released.
from ecrire.
Tested in released EFL 1.21.0. I could not replicate the original issue. Able to type text after right click paste. Seems resolved, closing.
from ecrire.
Related Issues (20)
- Save dialog issues HOT 18
- Save and Save As don't stay highlighted after a second change HOT 1
- Saving after hiting the X to close on the top bar doesn't make Ecrire close HOT 3
- Segmentation fault and crash on save as HOT 5
- Save and Save as don't highlight after paste on new doc. HOT 4
- Ecrire fails with latest git HOT 16
- [efl + meson < 0.52.0] /usr/lib/libefreet_mime.so.1: error adding symbols: DSO missing from command line HOT 31
- Build issue on efl 1.23.0 HOT 3
- settings dialog segfault ecrire HOT 21
- Problem of transition effect on file open HOT 4
- No focus on startup HOT 2
- Some commands are disabled HOT 4
- Copy/Paste key bindings HOT 4
- Unblink cursor HOT 1
- Cannot build on Mac OS X HOT 10
- Search area bugs HOT 1
- Add some key bindings
- Another problem with open animation HOT 7
- Crash on second 'Open' HOT 1
- Crash with selected text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecrire.