parhamoyan / qutewindow

Cross-platform frameless window based on Python and Qt
11 stars 1 forks source link

Windows mouse cursors and clicks are not responding correctly #3

Open holmessh opened 1 year ago

holmessh commented 1 year ago

Hi,

When I run the demo codes (even the basic one with opening a main window only), I'm experiencing the following issues:

It seems like the issue is not reading the mouse position and clicks correctly. Please help. I've been looking for something like this and finally found your work.

Please tell me how can I fix it.

Thanks!

holmessh commented 1 year ago

Windows

holmessh commented 1 year ago

Windows 11

parhamoyan commented 1 year ago

Windows 11

Alright lmc

parhamoyan commented 1 year ago

Weird, I can't reproduce it. It works fine on my laptop.

holmessh commented 1 year ago

Ok, I found out why. As I was trying to video capture and share it with you, I realized these issues happen when VS code is on my secondary monitor. This is my default setup. I moved VS code to my primary monitor and run the code, everything works. However, as soon as I drag the window to my second monitor, all issues come back.

holmessh commented 1 year ago

Hi, Just wondering is this still something you can look into? Thanks

parhamoyan commented 1 year ago

Hi, I just reproduced it, I'm working on it rn.

holmessh commented 1 year ago

Cool, many thanks!

parhamoyan commented 1 year ago

I think it has been fixed

holmessh commented 1 year ago

It is still not working. Here is what I've tried:

holmessh commented 1 year ago

Hi again,

Would you be able to look into it? Is it all ok on your side? I notice in native_event.py, line 30, isResizable() is not showing as a function when I type "." after widget. Where as isMaximized is. I am using VS Code.

Thanks

parhamoyan commented 1 year ago

Hi, I currently have exams until September 7th. I need to focus on studying right now, but once my exams are over, I will be available to work on this package.

holmessh commented 1 year ago

ok, cool! Good luck on your exams.