Qemu is changing colours with change the size of the window

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Klakap
Member
Member
Posts: 299
Joined: Sat Mar 10, 2018 10:16 am

Qemu is changing colours with change the size of the window

Post by Klakap »

Good day!

I found strange problem. After start QEMU is all colours good:
Image

But after maximize window is colours change:
Image

Please have you any experience with this error? Can I fix it?
User avatar
BenLunt
Member
Member
Posts: 941
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: Qemu is changing colours with change the size of the win

Post by BenLunt »

Most likely because since you changed the screen size, QEMU changed the pixel depth from 15- or 16-bit pixels to 24- or 32-bit pixels and the colors will now be different.

This is most noticeable due to the fact that the square didn't change places. i.e.: If you create a larger screen size, the square will move in relationship to the pixel depth. The square didn't (noticeably) move, so the screen didn't just "zoom in", it actually grew in pixels so the square isn't at the same row/column anymore.

Anyway, we will need more information to be sure.

Ben
- http://www.fysnet.net/the_graphical_user_interface.htm
Post Reply