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

geany does not launch with correct directory #871

Closed
id027102 opened this issue Apr 20, 2023 · 6 comments · Fixed by #894
Closed

geany does not launch with correct directory #871

id027102 opened this issue Apr 20, 2023 · 6 comments · Fixed by #894

Comments

@id027102
Copy link

The problem

If I use "geany" as editor , geany opens with "Open with geany" , but it opens in last used directory , not in choosed repo.

When using "Visual Studio Code" it opens well in the good directory .

"Show in your file manager" is also Ok

Release version

3.2.1-linux1 (x64)

Operating system

Linux 6.1.0-7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2 (2023-04-08) x86_64 GNU/Linux

Steps to reproduce the behavior

  1. Choose repo
  2. Open in Geany

Log files

No response

Screenshots

No response

Additional context

No response

@shiftkey
Copy link
Owner

If I use "geany" as editor , geany opens with "Open with geany" , but it opens in last used directory , not in choosed repo.

Is there something with the command line interface for geany that means our trick of passing in a path as the first argument doesn't work? Is it expecting something else?

return spawn(path, [workingDirectory], options)

@github-actions
Copy link

github-actions bot commented May 7, 2023

Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

@github-actions github-actions bot closed this as completed May 7, 2023
@id027102
Copy link
Author

id027102 commented May 8, 2023

Its easy , install geany and try.
If you have a repo named test , geany will open a file named test in the last directory he was busy.
Visual Stududio is ok he open the folder test , geany not.
So I am not a developper , but I think the parameters passed to geany are not correct

@github-actions github-actions bot reopened this May 8, 2023
@shiftkey shiftkey changed the title Open Repo geany does not launch with correct directory May 10, 2023
@shiftkey
Copy link
Owner

Its easy , install geany and try.

I have limited time for this project at the moment so any extra instructions or documentation you can point me to would help here.

If you have a repo named test , geany will open a file named test in the last directory he was busy.

This is the bit that's not clear to me - do you pass any arguments to geany when this happens? Do you launch it via the command line? Or do you launch it some other way?

@id027102
Copy link
Author

id027102 commented May 11, 2023 via email

@theofficialgman
Copy link

theofficialgman commented Jun 5, 2023

geany has no notion of opening a folder. Sorry I was the one who had it added to shiftkey/destop. Opening specific files works fine but there isn't any way to open a folder with geany.
you can see that I mention this in the PR comment: #711

I knew then when adding it but felt that it still deserved to be there since geany is such a common file editor and it works fine when opening a specific file (like right clicking on one in the commit history and selecting open in geany)

This issue can be closed.

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

Successfully merging a pull request may close this issue.

3 participants