Skip to content

"Open" dialog is minimized when it is opened #2344

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
3 tasks done
edyakonov opened this issue Jan 29, 2024 · 4 comments
Open
3 tasks done

"Open" dialog is minimized when it is opened #2344

edyakonov opened this issue Jan 29, 2024 · 4 comments
Labels
os: linux Specific to Linux operating system topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project

Comments

@edyakonov
Copy link

edyakonov commented Jan 29, 2024

Describe the problem

When I select File > Open... from the Arduino IDE menus, the "Open" dialog opens in a minimized state:

To reproduce

  1. Select File > Open... from the Arduino IDE menus

🐛 The "Open" dialog is in a minimized state:

_._minimized-2024-01-29_13.59.33.mp4

Expected behavior

Dialogs are always visible when created by Arduino IDE.

Arduino IDE version

2.2.1

Operating system

Linux

Operating system version

МОС12

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@edyakonov edyakonov added the type: imperfection Perceived defect in any part of project label Jan 29, 2024
@kittaakos
Copy link
Contributor

From #2325 (comment):

Describe the problem

When I do "File -> Open", the file browser doesn't seem to open, nothing seems to happen, except that Arduino's icon in the Task Manager changes to some "X" icon and has a "+" on the bottom indicating that there's more than one window. When I click on the icon, then the file browser popup comes to the foreground, and so I find out that it did open, but was on the background.

To reproduce

go to File -> Open

Expected behavior

Arduino's icon in the task manager shouldn't change to a different icon. The "+" on the bottom might be expected (though most applications do something better: the main window gets greyed out while the file browser popup is visible, and it doesn't count as an additional window). And most importantly, the file browser popup that has been opened as a result of a direct user input, should immediately be visible, focused, and on the foreground.

image

Arduino IDE version

2.2.1

Operating system

Linux

Operating system version

Manjaro Linux

Additional context

I did not verify the problem still occurs when using the latest nightly build because the nightly build isn't usable.

@kittaakos
Copy link
Contributor

kittaakos commented Jan 30, 2024

I could not reproduce it on my Ubuntu 22.04 VM.


Update: OK, I could reproduce it. It requires users to perform File > Open at least twice.

gh-2344.mp4

Related:

@kittaakos kittaakos added topic: theia Related to the Theia IDE framework os: linux Specific to Linux operating system labels Jan 30, 2024
@php4fan
Copy link

php4fan commented Jan 30, 2024

Does the Arduino IDE by any chance use Electron?
Visual Studio Code has the exact same issue (or at least it looks pretty much the same): microsoft/vscode#146422

@per1234 per1234 changed the title Open dialog run minimized "Open" dialog is minimized when it is opened Feb 7, 2024
@martin-eden
Copy link

Does the Arduino IDE by any chance use Electron?

It does. Naive question to ask in source code repository.

https://github.com/arduino/arduino-ide/tree/main/electron-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux Specific to Linux operating system topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants