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

Idea about increased visibility for blocked widows (because of modal dialogs) #796

Open
AndreZeiler opened this issue Jan 18, 2024 · 2 comments

Comments

@AndreZeiler
Copy link

Hey

I am currently working on a project that uses a few modal windows.
It is sometimes a little bit confusing and that is why we in general try to avoid them but in some situations they are still a proper solution.

I am interested in increasing the visibility to the user about the active modal windows and mostly about the currently "blocked" windows to avoid unnecessary interactions on them.

A general idea would be adding a visible inactive state along with a graphical representation to the blocked windows.
I am thinking about a layer of transparent color that is placed on top of the window. Like a gray film, slight blur effect or something like that.

I could handle this for all the individual windows and using for example the glass pane to implement this.
But I think a even better solution would be if this could be part of the Look and Feel and being controlled by different parameters.
I am not sure if technically this is even possible in the L&F.

Maybe this would be a nice feature for FlatLaf?
So this issue is just to share my idea with you an maybe getting some feedback about the possibility and effort to implement such a feature.

@DevCharly
Copy link
Collaborator

I am thinking about a layer of transparent color that is placed on top of the
window. Like a gray film, slight blur effect or something like that.

Something like the following? (this is from macOS)

macOS

I am not sure if technically this is even possible in the L&F.

Did some experiments, and it is possible to implement this in FlatLaf.
Maybe even animated as on macOS.

But implementing and testing this is time-consuming.
I expect at least 3-4 days to make this work, test it on all platforms and document it.

@AndreZeiler I wonder whether the company you're working for (Airbus?), could sponsor development of this feature?

Sorry to ask for sponsorship, but can't implement all the features companies want, for free...

https://www.formdev.com/flatlaf/sponsor/

@AndreZeiler
Copy link
Author

It is exactly what i have thought of.
I really like the macOS implementation in your screenshot, because it is only tinted in a slight gray tone without any blur that might distracts the visibility of the content. For some users a blurring effect might would be interesting as well.
I think this would at all be a great feature for the FlatLaf look and feel.

I will bring up your sponsoring "request" in the next weekly today and I will also talk to my project manager about this. Currently the integration of FlatLaf in one of our products is still a prototype an more a proof of concept than an actual releasable software but I personally think that this honoration of the project would be great.

Best regards
André

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