Bug report on closing preview

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

Hm.

When you say you close the preview, which exact preview do you mean and how do you close it?

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

First I highlight a pdf file and press f11 to open the preview. Then I press either the X or ctrl+f4. Then the error appears. Does that help?

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

I can reproduce the crash with those same steps in 21.10.0029

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

1) Is this a new problem? (if I still get no answer I'm out of here)

2) What if you select another PDF instead of closing this one?

Magnus
Posts: 56
Joined: 21 Oct 2012 21:51
Location: Microsoft Windows Version 241-12 (0S Build 26100.4946) 200% screen scale (recommended)

Re: Bug report on closing preview

Post by Magnus »

I just arrived to report the same, except it happens each time I select a PDF with the preview window active, of subsequently select the floating preview I get the .NET error.
Image

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

Looks like a different error to me.

Are you also using Adobe for PDF handling?

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

admin wrote: ↑01 Oct 2020 20:26 1) Is this a new problem? (if I still get no answer I'm out of here)
I believe it's a relatively new problem. I don't use the preview window often, but I do use MDBU frequently and I had not seen this until recently, just not sure how long

Also, I will say it's much harder to reproduce (for me) using MDBU. Using the preview window it crashes every time

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

OK, I guess it's time to learn how to handle exceptions in C#. Tomorrow...

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

JLoftus wrote: ↑01 Oct 2020 20:51
admin wrote: ↑01 Oct 2020 20:26 1) Is this a new problem? (if I still get no answer I'm out of here)
I believe it's a relatively new problem. I don't use the preview window often, but I do use MDBU frequently and I had not seen this until recently, just not sure how long

Also, I will say it's much harder to reproduce (for me) using MDBU. Using the preview window it crashes every time
Its a new problem for me since the 0025 build. It also happens if you move the preview to a new PDF.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

Ah, I might have got it. I used || as logical OR operator (knowing it from PHP) but in C# it should be | for the same functionality!

It does not explain why I don't see the errors here but it's a start...

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

OK, happy to retest once you have a build.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

Already there.

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Bug report on closing preview

Post by acheton »

admin wrote: ↑02 Oct 2020 14:37Already there.
OK still fails with the same error. dlog; produces the following:

XYplorer 21.10.0031 - Windows 10 Professional, 64-bit, Release 2004, Build 19041.508 - 2020-10-02 16:50:21.195
----------------------------------------------------------------------------------------------------

- 2020-10-02 16:50:10.035 --- Preview64: quit

JLoftus
Posts: 600
Joined: 22 Jan 2014 14:58

Re: Bug report on closing preview

Post by JLoftus »

yes, still crashes on 0031, and to note, I'm not using Adobe as the preview handler, I'm using PDF-Xchange

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Bug report on closing preview

Post by admin »

JLoftus wrote: ↑02 Oct 2020 18:12 yes, still crashes on 0031, and to note, I'm not using Adobe as the preview handler, I'm using PDF-Xchange
Still stumbled why you go for 64-bit preview when using PDF-Xchange.

Anyway, I try another fix.

Post Reply