Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open emoji window next to open text field #176

Open
Combinacijus opened this issue Sep 16, 2022 · 2 comments
Open

Open emoji window next to open text field #176

Combinacijus opened this issue Sep 16, 2022 · 2 comments

Comments

@Combinacijus
Copy link

No description provided.

@timreach
Copy link

Does anyone know of any other extensions that create custom input field anchored context menus? I would be interested in trying to implement this feature and a reference would be useful.

@Combinacijus
Copy link
Author

Combinacijus commented Apr 19, 2023

@timreach Asked GPT-4 for examples but it said there's none as of 2021 Sep. Also asked how to make one and it basically said it's really hard and that it might be easier to make standalone application instead of extension.
Detecting the focused input field in a desktop environment like GNOME can be challenging, as it depends on the application and the graphical toolkit being used. However, you can try using the xdotool command-line utility to achieve this
xdotool getwindowfocus getwindowname. This command returns the name of the currently focused window. However, it might not provide information specifically about the focused input field within that window

Of course do your own research because there might be a way.

Closest software I know is CopyQ but it only opens window next to mouse and it's standalone application

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

No branches or pull requests

2 participants