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

Make input pointer go in the input field when opening or saving at #27

Open
ApostolosB opened this issue Dec 4, 2017 · 3 comments
Open
Assignees

Comments

@ApostolosB
Copy link

Description

As the title suggests. When you click open and/or save as the pointer to type the name of the file isn't at the input field of the window that pops open.

Steps to reproduce
  1. Type something
  2. Click Save as
  3. You have to click on the input field to give the file a name
    ...
System information
  • EFL Version
    Stable and git
  • E Version
    Stable and git
  • X or Wayland
    Wayland
@wltjr wltjr self-assigned this Dec 4, 2017
@wltjr wltjr added the bug label Dec 4, 2017
@wltjr
Copy link
Member

wltjr commented Dec 4, 2017

I think I can address that. Maybe an EFL issue as its a elm widget. I know I cannot do like action on enter. Like if you type in a filename and hit enter it does not save. I wanted to file a bug on that. I will look into ASAP. Thanks for the report!

@wltjr
Copy link
Member

wltjr commented Feb 21, 2018

I am not sure it is possible to focus on the entry field. I think it is an EFL deficiency. I need to confirm, but I came across this that seems to hint as to such. I have been trying to look at the source code. I am not sure how to access the elements without some patch or modification to elm_fileselector, an elementary widget.

There is a callback event for when a user focuses/unfocuses the field, the "focused and "unfocused". But not anything to go the other direction, focus the field for the user. Even selecting a file does not focus that field, when updating the text. If that matters. Just another example of how it really never gets focus from anything. Thus an EFL deficiency. Need to improve and enhance that widget IMHO.

@wltjr
Copy link
Member

wltjr commented Aug 1, 2018

I will either have to re-code a similar widget in ecrire, or submit a patch/PR to modify EFL to allow such. Short of either, there is no means presently to focus on the entry field. Likely create a PR for upstream, as it is likely easier to do that than to re-code. Though I may re-code as I rather have a list for the recent files, than a drop down select box. Which has its own issues based on usage.

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

No branches or pull requests

2 participants