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

Mouse pointer strange behaviour #4037

Closed
Motomanual opened this issue Jun 26, 2023 · 22 comments
Closed

Mouse pointer strange behaviour #4037

Motomanual opened this issue Jun 26, 2023 · 22 comments
Milestone

Comments

@Motomanual
Copy link

Hello, just installed version 1.0.0-1457Win64 but found a strange behaviour of the mouse pointer when focused on a component on breadboard and drawing sections (pointer looks like two orizontal lines).
Already sent a mail to 'support@fritzing.org' with a short video showing the issue, that was not present on previous versions and make complex connect wires to components.
Additionally in the Code section the drop down menu used to select platform/card/port, words appear in black color on dark gray background (almost unreadable).
The mouse problem appear on a specific laptop below ireported and just in the indicated sections, color problem appeared on all pc I have tested.
O.S. - Windows 10 V19045.3086
PC Lenovo Ideapad Ryzen 7
Thanks and best regards

@Motomanual
Copy link
Author

Fritzing.1.0.0-14157.Mouse.mp4

@KjellMorgenstern
Copy link
Member

Can you check the integrity of Fritzing? Reachable by right clicking, ( https://chat.openai.com/share/ce4247fa-e95c-4188-b612-21fc64c1f7a1 ) . Certificate should be to Fritzing GmbH.

Were there any error messages when installing on the Ideapad?

@Motomanual
Copy link
Author

Hello, thanks for Your answer!
I checked the integrity as requested and the certificate is correct (I download the file from the link supplied by Fritzing several times).
During installation any error message appeared (checked several times), previous versions don't have this problem.
Thanks and best regards.

@failiz
Copy link
Contributor

failiz commented Jul 17, 2023

I have seen this bug in a few computers from my students (all running 1.0.0).

@KjellMorgenstern
Copy link
Member

Unfortunately I have never seen it yet. Were all the students using Windows? And can you check if it was Windows 10, maybe even build 19045 like in the first post?

@failiz
Copy link
Contributor

failiz commented Jul 17, 2023

I think all of them were on Windows. I took some pictures of one of them. I will try to find more tomorrow.
IMG_20230717_144855
IMG_20230717_144904
IMG_20230717_144921

@failiz failiz mentioned this issue Jul 18, 2023
@failiz
Copy link
Contributor

failiz commented Jul 18, 2023

Another computer with the same problem.
IMG_20230718_115539
IMG_20230718_115549
IMG_20230718_115619

Let me know if you need more info.

@KjellMorgenstern
Copy link
Member

KjellMorgenstern commented Jul 18, 2023

Are there any Windows PC where it does work?

One thing suspicious is that the cursors are encoded as binary bitmap
make_wire.bmp: PC bitmap, Windows 3.x format, 32 x 32 x 1, image size 130, resolution 2834 x 2834 px/m, cbSize 192, bits offset 62
Maybe that is too outdated for some graphics drivers, but just pure speculation here.

@Motomanual
Copy link
Author

Hello, in my case there are other 3 (older) laptops with same Windows version that don't have any problem.
In the newest laptop the problem appear just with Fritzing version 1.0.0, older versions (included 0.9.10 that's Im actually using) dont have any problem and suppose the cursor bitmap is the same...
What about the QT version?

@KjellMorgenstern
Copy link
Member

Indeed, no changes for the bitmaps. Qt docs warn that QGuiApplication must be created before the Cursor, but this also did not change from Qt5 to Qt6. Fritzing is build with qt6 since 1.0.0

Another guess could be that upscaling the cursor does not work, which would then show mostly on notebooks with HiRes displays.

@Motomanual
Copy link
Author

It could be, are there any test to be done?
Thanks.

@failiz
Copy link
Contributor

failiz commented Jul 18, 2023

Are there any Windows PC where it does work?

I have 23 students and around half of them (or 40%) are MacOS users. From the around 12 or 14 Windows users, I have seen this bug in two or maybe three computers. In the other ones, it works correctly.

@jfmorgenstern
Copy link
Member

jfmorgenstern commented Jul 18, 2023

I was able to reproduce the bug by adjusting the display scaling to a non-integer scaling factor of 100%, such as 175%.

grafik

Tested on Windows 11, multi-monitor setup. One Monitor was set to 100% scaling, the other to 175%
grafik

@Motomanual
Copy link
Author

You're right, the suggested scaling setting of my monitor is 125% but changing to 100% the problem disappear, unfortunately with this scaling setting there are reading problem with other programs..
An additional issue that forgot to report is that, after installation, the resolution of version 0.9.10 and 1.0.0 is quite different as shown on below pictures (scaling 125%, 1.0.0 is bigger).
Fritzing 1 0 0
Fritzing 0 9 10

@jfmorgenstern
Copy link
Member

This could be related to the switch to QT6.

As a workaround until we fix this, you could try to change the high DPI settings in the compatibility tab.

  1. Right click on Fritzing shortcut
  2. Select Properties
  3. Select Compatibility tab
    grafik
  4. Set High DPI scaling override to "Sytem" or "System Enhanced"
    grafik

This fixes the cursor for me.

@Motomanual
Copy link
Author

With this setting the cursor probem is fixed also for me, the resolution of this version remain bigger compared to 0.9.10 but now is possible to use it.
Thanks for your support!

@Motomanual

This comment was marked as off-topic.

@KjellMorgenstern

This comment was marked as duplicate.

@failiz
Copy link
Contributor

failiz commented Jul 21, 2023

Probably, it would be a good idea to add this bug and the workaround to the list of known issues.

@KjellMorgenstern
Copy link
Member

@KjellMorgenstern
Copy link
Member

Switched the cursor from Bitmap to Pixmap representation. Pixmap can be scaled correctly. It looks like the issue does not occur on other systems because they don't try to scale the cursor, it just stays at 100%

@Spinky1001
Copy link

I started using Fritzing yesterday and I also have this problem with the cursor.
Tried all the suggestions above but still not working properly.
Not sure what last comment means - how do you switch the cursor from Bitmap to Pixmap?
Any further ideas?
Windows 10 home edition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants