SVGShellExtensions icon indicating copy to clipboard operation
SVGShellExtensions copied to clipboard

Problem with Preview inside Delphi 10.4.1 Sydney

Open acambule opened this issue 4 years ago • 4 comments

Hello,

I'm not shure if it was meant to work, but i installed this Extension in the hope to see svg preview inside of delphi dialog (in designtime).

And partly it works. When i open the imagelist to add a new svg is can see the preview like this: grafik

changing from one svg to an other it looks like this: grafik

The preview does not update appropriate.

Edit: Changing the size of the preview panel, forces the preview to update and that corrects the preview.

Saluti da Berlino Antonio Cambule

acambule avatar Feb 19 '21 07:02 acambule

Yes, I know this bug, it happens when you have more than one screen and you open Windows Explorer on the secondary screen or drag it to it. For now I have not found a solution but I have seen that other previews (eg Adobe's one for PDFs) have the same type of problem. From some tests I've done it seems that Explorer notifies the preview with the wrong size. I leave this issue open because sooner or later I have to try to solve it. ciao Antonio image

carloBarazzetta avatar Feb 19 '21 08:02 carloBarazzetta

Probably should use windows 10 feedback center to let MS know in case it's their bug

birbilis avatar Sep 21 '21 16:09 birbilis

I've also encountered a preview sizing problem (but using the pre-compiled extension in Windows 10). The previiew window will on occasions maximize to the full screen with no way to shrink it except to close the window and disable previewing. This happens frequently enough to be very annoying, but otherwise the extension works really wel svg_extension_bug l.

AngusJohnson avatar Nov 05 '21 20:11 AngusJohnson

Hi Angus, I have the same problem sometimes, especially when I work with multiple monitors ... My Shell extension is based on Rodrigo Ruz's great project here: https://github.com/RRUZ/delphi-preview-handler and sometimes the problem also occurs with the preview of Rodrigo ... I will try to check if Rodrigo has fixed this problem in the meantime.

carloBarazzetta avatar Nov 06 '21 07:11 carloBarazzetta