-
Notifications
You must be signed in to change notification settings - Fork 469
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
Main Window Frameless #1457
Main Window Frameless #1457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Needs to be tested on macOS and Linux (Ubuntu, debian w. GNOME)
The pro of this may also be the con:
Each front-end can have a customized title bar, but each front-end must always implement a title bar.
How about evaluating a solution (if this is even possible), where the title bar is part of the index.html
file and a front-end may or may not replace it?
I see what you mean, i'll take a look at it |
Added default menubar in index.html that can be hidden within the theme css ( it works!:) |
Regarding the icons during loading time maybe macOS dooesn't recognise those UTF8 chars: I should probably prefix it with pure text : |
Regarding the double click... could it be a windows's behavior ? Do we consider this as an anomaly (don't know much about MacOS) ? |
I couldn't find a font that shows these unicode characters, so i suggested either to use embedded gifs as base64 data URLs or using SVG sprites, which seems to be the best practice right now (maybe also switching fontawesome from font system to SVG sprites ...) macOS usually maximizes the window as well when double clicking the title bar. I have no clue why this is not working and if it is essential to be working on macOS or not. |
Regarding the double click maximize I've just found this : |
Maybe its possible to just capture the javascript double click event on the element and call the same methods (toggle) as when clicking the maximize/minimize buttons |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Changes the main window to frameless.
Top left menu is now draggable and includes minimize,maximize and close buttons.
Connectors's browser window is still with frame enabled.
Todo :
Menu bar appears, but there are 3 squares instead of min/max/close symbols