puter icon indicating copy to clipboard operation
puter copied to clipboard

Terminal loses focus when running a background app

Open AtkinsSJ opened this issue 1 year ago โ€ข 12 comments

This is a general problem, but most obvious in the terminal:

When an app is launched, it gets the keyboard focus. That makes sense for most apps, but for background apps, they're invisible and can't take focus. All it does is remove the focus from the app the user is actually using instead, which is usually the terminal.

I expect this will be quite a simple fix, I'm just in the middle of something else right now.

AtkinsSJ avatar Jun 04 '24 12:06 AtkinsSJ

I'll wait for somebody to pick this up as a first issue, if nobody does I'll fix it

jelveh avatar Jun 05 '24 15:06 jelveh

Hey can I work on this issue? Can you assign it to me

Juhi-Lakdawala avatar Sep 03 '24 17:09 Juhi-Lakdawala

Hey can I work on this issue? Can you assign it to me

Sure thing! Let me know if you need help finding anything - I was pretty close to that code recently and have an idea on my head about how it would be fixed.

KernelDeimos avatar Sep 03 '24 18:09 KernelDeimos

@Juhi-Lakdawala did you run into a hurdle when trying to implement this? Let me know if you need help.

KernelDeimos avatar Nov 07 '24 02:11 KernelDeimos

Hi, Can I work on this issue please?

jhan10jr avatar Feb 24 '25 19:02 jhan10jr

@jhan10jr Hi, I just noticed now (GitHub's UI makes it a little difficult to catch everything) - I'll assign you right now, let me know if you're still interested.

KernelDeimos avatar Mar 10 '25 22:03 KernelDeimos

Hi bro, I am not insterested in this project, Thanks for Your offert

jhan10jr avatar Mar 11 '25 02:03 jhan10jr

Hello @KernelDeimos , can I work on this issue, could you please assign me?

hewansirak avatar Mar 14 '25 08:03 hewansirak

hey @AtkinsSJ , can i work on this issue??

gautamkapoor1709 avatar Mar 16 '25 13:03 gautamkapoor1709

Hi, anyone can take on this issue if they like. If there's duplicate effort, that's not all that bad because the more people who understand this part of the source the better. I'm going to try solving it this using an agentic AI tool because I'm curious if it cal pull it off.

KernelDeimos avatar Mar 26 '25 18:03 KernelDeimos

hey @KernelDeimos , I am interested to work on this issue.

gautamkapoor1709 avatar Mar 26 '25 19:03 gautamkapoor1709

@gautamkapoor1709 Great timing, I tried to get AI to do it yesterday and Claude is rate limiting everyone hard right now so it was a futile attempt. I just pushed the branch for that as fix/terminal-focus-loss, so you might want to check that for a general idea of where to look based on how Claude approached it. I've just assigned you.

KernelDeimos avatar Mar 26 '25 19:03 KernelDeimos

is this issue still open? if so i would like to work on it And i will require some more explanation or steps to reproduce issue

Hetsavani avatar Aug 01 '25 07:08 Hetsavani

์•ˆ๋…•ํ•˜์„ธ์š”! ์ด ์ด์Šˆ์— ๊ธฐ์—ฌํ•˜๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค. ํ• ๋‹นํ•ด์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

braintrue avatar Aug 29 '25 12:08 braintrue

Thank you @braintrue. Assigned!

jelveh avatar Aug 29 '25 17:08 jelveh

Thank you @braintrue. Assigned!

Subject: Guidance on Testing Background App

Hi Jelveh,

Thank you for your help so far! Iโ€™d like to know how to test the background app. Could you guide me on how to run it and verify that itโ€™s working?

Iโ€™ve already forked and cloned the repository to my local environment. I ran cd puter and executed npm install and npm start to start the server, but Iโ€™m not sure where or how to access the terminal for the background process.

Thanks in advance for your guidance!

Best regards, Changseop

braintrue avatar Aug 30 '25 01:08 braintrue

I would love to work on this issue, thank you Puter team

alexanderkoo04 avatar Aug 31 '25 11:08 alexanderkoo04

Hi, can I work on this issue?

Shadabalam1 avatar Sep 02 '25 11:09 Shadabalam1