sptbxlib icon indicating copy to clipboard operation
sptbxlib copied to clipboard

Dragging Dockable Panels (when floating) back and forth causes obscene panel growth

Open AlbertWiersch opened this issue 4 years ago • 6 comments

I undocked a TSpTBXDockablePanel and dragged it around across monitors with different DPIs and the panel size kept growing out of control. It looks like the biggest problem occurred when it grew when dragging it from a higher DPI monitor to a lower DPI monitor. Strangely, the first time it moved to a lower DPI monitor it didn't grow but them moving it back to the higher DPI monitor and then back to the lower DPI monitor caused extreme panel size growth. Just try dragging it back and forth from different DPI monitors to see the bizarre behavior.

AlbertWiersch avatar Dec 08 '20 04:12 AlbertWiersch

Try the latest, I think it's fixed now.

SilverpointDev avatar Dec 14 '20 17:12 SilverpointDev

Thanks but I'm putting my per-monitor DPI support on hold for now due to this issue: https://quality.embarcadero.com/browse/RSP-31931

I hope it's fixed and will test again when the above issue is resolved. I really wanted to support per-monitor DPI and was almost there until I ran into the font size bug.

AlbertWiersch avatar Dec 24 '20 20:12 AlbertWiersch

Thanks but I'm putting my per-monitor DPI support on hold for now due to this issue: https://quality.embarcadero.com/browse/RSP-31931

This is not a bug. Please see my comment,

pyscripter avatar Dec 25 '20 01:12 pyscripter

This is not a bug. Please see my comment,

Very interesting. I'll have to investigate this after the holidays... but what a seemingly bizarre, inconsistent, and problematic way to handle font sizing... at least to my eye.

AlbertWiersch avatar Dec 25 '20 03:12 AlbertWiersch

@AlbertWiersch Can you try the latest commit?

SilverpointDev avatar Feb 09 '21 18:02 SilverpointDev

@AlbertWiersch Can you try the latest commit?

Sorry, I just now saw this. I've updated to 2.5.8 but have been busy with other things and have not re-investigated per-monitor DPI. I'll put it on my to-do list to get to eventually. :-)

AlbertWiersch avatar Apr 10 '21 19:04 AlbertWiersch