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

Non closable Empty window & Remeber window postion #18

Open
vslmc opened this issue Mar 17, 2021 · 2 comments
Open

Non closable Empty window & Remeber window postion #18

vslmc opened this issue Mar 17, 2021 · 2 comments

Comments

@vslmc
Copy link

vslmc commented Mar 17, 2021

I tried to open a .qml and this window will not go away. It's probably the "Click here!" window. The Preview window opens still and works perfect so far.

image

Also I would have a feature request if possible; Save the window postion on live modification

Thank You for this awesome project

@smokejohn
Copy link

I can confirm that this happens on Linux too, but I think this is only happens in a special case. I Think this happens only if your .qml starts with an ApplicationWindow QML Type as the root item. Which probably prevents QHot from being the root item of your widget tree. And then creates an extra window which will be recreated on every reload.

Can you confirm this @SEKKEI ?

Hot reload works well for other the other item i have tested (Linux Fedora WS 33). Still would be nice to find a way to maybe wrap the ApplicationWindow or ignore it if its the root item of the widget tree.

@vslmc
Copy link
Author

vslmc commented Mar 23, 2021

@smokejohn I had this issue also with 'window' (I didn't try much else, on windows x64 build 21337)
My personal bugfix was to open the qhot.exe in a hex editor and changing 'visible: true ' to 'visible:false' at 8be4
This will disable the click me box entirely

(interestingly you can drop the qhot.exe in the QaterialHotReload Apps root folder and use QT 5.15 instead of 5.12 )

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