http://bugs.winehq.org/show_bug.cgi?id=58106
Bug ID: 58106 Summary: PrintDialog (System.Windows.Controls): does not set PageRange and PageRangeSelection Product: Wine Version: 10.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: igor.ivanov.0501@gmail.com Distribution: ---
Created attachment 78364 --> http://bugs.winehq.org/attachment.cgi?id=78364 Sample App for VS22 with executable
After opening PrintDialog and manually setting PageRange returned result will be unchanged. See sample in attachment
http://bugs.winehq.org/show_bug.cgi?id=58106
Igor Ivanov igor.ivanov.0501@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |printing
http://bugs.winehq.org/show_bug.cgi?id=58106
Igor Ivanov igor.ivanov.0501@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias| |prntvpt.dll
http://bugs.winehq.org/show_bug.cgi?id=58106
--- Comment #1 from Igor Ivanov igor.ivanov.0501@gmail.com --- If PrintDialog opens with PageRangeSelection= PageRangeSelection.UserPages and PageRange with values all changes returns normally
http://bugs.winehq.org/show_bug.cgi?id=58106
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
http://bugs.winehq.org/show_bug.cgi?id=58106
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|prntvpt.dll |
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- Why do you think that it's a prntvpt related bug? Does the attached test require some particular version of .Net installed with winetricks?
http://bugs.winehq.org/show_bug.cgi?id=58106
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 78376 --> http://bugs.winehq.org/attachment.cgi?id=78376 patch
Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=58106
--- Comment #4 from Igor Ivanov igor.ivanov.0501@gmail.com --- .Net Framework 4.7.2 installed.
Assembly with unmanaged code is comdlg32.dll
PrintDialog returns correct PageRange values only when PageRangeSelection is PRESET to RangeSelection.UserRange, otherwise PageRange is not changed and PageRangeSelection remains equal to RangeSelection.AllPages