LCD-Smartie / LCDSmartie

The New Official LCD Smartie Repository (LCD Smartie Lazarus port)
GNU General Public License v2.0
32 stars 5 forks source link

Desktop dll displays only three lines on a four line display selected. #14

Closed limbo666 closed 1 year ago

limbo666 commented 1 year ago

I have tested both 32bit and 64bit of desktop.dll with the latest exe provided. The problem is visible on the followings screens: desktop screen desktop screen_32Bit It seems that for some reason once LCD Smartie switches from the first screens to the next enabled screen the lines on desktop emulated screen are getting larger and the result is to lose one on the four lines (the lower line).

limbo666 commented 1 year ago

And half an hour later I feel like a complete idiot since I can't reproduce the issue.

image I just moved the LCD Smartie folder from my desktop to a different path on the disk with the very same configuration file. desktop.dll works just fine.

Please just give it a try from your side and verify that everything is working for you on 4x40 sized virtual display. If so, we have to close this issue with no further investigation. Sorry for bothering you.

limbo666 commented 1 year ago

Oh dear... it's me again! this happens when the virtual display is dragged with the mouse. desktop dll malfunction So I guess it is easy to verify the issue existence.

stokie-ant commented 1 year ago

Awesome, I've been sat here for 30 mins trying to reproduce it. I've got an idea of what's going wrong I just need to find why

stokie-ant commented 1 year ago

Right, so the paintbox edges are sized and anchored to the 4 insides of the frame before its removed. Now when it wants to redraw, somewhere at a lower level it gets that there's no frame but now assumes we have a window of the size with frames. If you follow me. I fixed that by manually specifying the paintbox size anyway. It's getting a a bit late for me here so I'll clean up something else I was working on and get another release up tomorrow

limbo666 commented 1 year ago

Fixed on 5.5.4.21