Page 7 of 17

Re: PDF Viewer DLL?

Posted: Tue Mar 28, 2017 1:31 pm
by vagblad
I am posting my own test results which are more or so the same as edk's. Tested it on 2 OS.

PdfView_1
Windows Server 2012 x64 - Everything works ok on either panel
Windows 10 x64 - When the grid panel is focused everything works fine, when the Sumatra panel is focused title bar menu does not show and program hangs.

PdfView_2
Windows Server 2012 x64 - Everything works ok on either panel
Windows 10 x64 - Everything works ok on either panel

PdfView_3
Windows Server 2012 x64 - Title bar menu does not show when either panel is focused, program continues to work just fine.
Windows 10 x64 - Title bar menu does not show when either panel is focused, program continues to work just fine.

Thanks again KDJ for the prg.

Re: PDF Viewer DLL?

Posted: Tue Mar 28, 2017 8:23 pm
by KDJ
edk wrote: Mon Mar 27, 2017 9:50 pm PdfView_2
Focused SumatraPanel: LeftAlt / F10 - title bar menu does not appear. Not working Windows Menu Start (by Start button and WinKEy), I can't navigate through PDF with cursor keys or mouse,
vagblad wrote: Tue Mar 28, 2017 1:31 pm PdfView_2
Windows 10 x64 - Everything works ok on either panel

We received two conflicting test results for PdfView_2 on Win-10.
And I do not know what to do.

Maybe we should set focus to to Grid Files panel before initialization of the menu.
Please test PdfView_4:
PdfView_test.zip
(19.35 KiB) Downloaded 247 times

---
Edward

How works PdfView posted here: viewtopic.php?f=40&t=5112&p=50227#p50227
if you use mouse to activate menu?

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 6:44 am
by edk
KDJ wrote: Tue Mar 28, 2017 8:23 pm Edward

How works PdfView posted here: viewtopic.php?f=40&t=5112&p=50227#p50227
if you use mouse to activate menu?
Without any problems ;)

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 7:08 am
by gfilatov
Hello Krzysztof.

Please take a look for the typo in the function SetFocusNextDlgTab().

There is the following line here

Code: Select all

SetFocus(GetNextDlgTabItem(PdfView.HANDLE, GetFocus()), lPrevious)
It should be

Code: Select all

SetFocus(GetNextDlgTabItem(PdfView.HANDLE, GetFocus(), lPrevious))
Hope that helps :idea:

And thanks a lot for your PdfView utility 8-)

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 7:32 am
by edk
KDJ wrote: Tue Mar 28, 2017 8:23 pm
edk wrote: Mon Mar 27, 2017 9:50 pm PdfView_2
Focused SumatraPanel: LeftAlt / F10 - title bar menu does not appear. Not working Windows Menu Start (by Start button and WinKEy), I can't navigate through PDF with cursor keys or mouse,
vagblad wrote: Tue Mar 28, 2017 1:31 pm PdfView_2
Windows 10 x64 - Everything works ok on either panel

We received two conflicting test results for PdfView_2 on Win-10.
And I do not know what to do.
See attachment:
PdfView_2.7z
(1.06 MiB) Downloaded 223 times
KDJ wrote: Tue Mar 28, 2017 8:23 pm (...)
Maybe we should set focus to to Grid Files panel before initialization of the menu.
Please test PdfView_4:
PdfView_test.zip
Indeed, Grid Files gains focus, but then hangs.
See:
PdfView_4.7z
(1.17 MiB) Downloaded 226 times
Maybe it will be easier for you to test when you put Win10 on a VM.

Edward.

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 7:50 am
by edk
gfilatov wrote: Wed Mar 29, 2017 7:08 am Hello Krzysztof.

Please take a look for the typo in the function SetFocusNextDlgTab().

There is the following line here

Code: Select all

SetFocus(GetNextDlgTabItem(PdfView.HANDLE, GetFocus()), lPrevious)
It should be

Code: Select all

SetFocus(GetNextDlgTabItem(PdfView.HANDLE, GetFocus(), lPrevious))
Hope that helps :idea:

And thanks a lot for your PdfView utility 8-)
Hi Grigory, unfortunately that did not help, still the same issue.

Edward

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 7:36 pm
by KDJ
gfilatov wrote: Wed Mar 29, 2017 7:08 am It should be

Code: Select all

SetFocus(GetNextDlgTabItem(PdfView.HANDLE, GetFocus(), lPrevious))
Hi Grigory

Oh yes, excellent observation. Thank you very much. I will fix it in the next version.
But it does not matter for menu activation.

Re: PDF Viewer DLL?

Posted: Wed Mar 29, 2017 8:08 pm
by KDJ
Cześć Edward

Jeśli możesz, wykonaj jeszcze jeden test - PdfView_5.
W tej wersji TIMER jest wyłączony, więc na pasku statusu z prawej strony nie będzie wyświetlał numeru strony pdf.

System Win-10.
Uruchom PdfView_5.exe.
Otwórz plik pdf.
Ustaw focus w SumatraPanel.
Wciśnij i zwolnij LewyAlt/F10.
Jeśli się nie zawiesi, to OK.
Jeśli się zawiesi, to podaj mi ciąg liczb wyświetlonych na pasku statusu. Pierwsza liczba będzie w formacie hex (F100), następne dec.

PdfView_test.zip
(23.51 KiB) Downloaded 210 times

Re: PDF Viewer DLL?

Posted: Thu Mar 30, 2017 7:47 am
by edk
Cześć Krzysztof.
Gdy się "zawiesi", zwraca mi liczby: F100,529,32,278,146,287,78,78,78,78,289,127,127 ... (ten ciąg "127,127" dopisuje się co ok. 1 sekundę)
PdfView_5_1.png
PdfView_5_1.png (15.15 KiB) Viewed 5215 times
PdfView_5_2.png
PdfView_5_2.png (53.09 KiB) Viewed 5215 times
Edward.

Re: PDF Viewer DLL?

Posted: Thu Mar 30, 2017 7:44 pm
by KDJ
Edward

Teraz widzę, w którym momencie się zawiesza.
To już ostatni test: PdfView_6.
Wydaje mi się, że powinno działać.

PdfView_test.zip
(27.79 KiB) Downloaded 244 times