Greetings.  I’m supporting a Windows user (I do not have Windows myself) who 
seems to be running into a difficulty with wd's layout manager.

The code below creates a series of windows.  On my Mac setup, which is:

Engine: j9.5.0-beta7/j64avx2/darwin
Build: commercial/2023-09-15T21:06:17/clang-14-0-0/SLEEF=1
Library: 9.5.4
Qt IDE: 2.5.1/6.5.2(6.5.2)
OS Ver: macOS Ventura (13.4) 22.5.0
Platform: Darwin 64
Installer: j9.5 install
InstallPath: /applications/j9.5
Contact: www.jsoftware.com

…the output is:

physical screen dimensions: 1680 1050
testNoContainer width, height: 1680 931
testHContainer width, height: 1680 931
testVContainer width, height: 1680 931
testVHContainer width, height: 1680 931
testVVHContainer width, height: 1680 931

That is, the windows are maximized as expected when using wd ‘pshow maximized'

On his setup, which is:

Engine: j9.5.0-beta7/j64avx2/windows
Build: commercial/2023-09-15T21:03:14/clang-16-0-6/SLEEF=1
Library: 9.5.4
Qt IDE: 2.5.1/6.5.2(6.5.2)
OS Ver: Windows 11 Version 22H2 10.0.22621
Platform: Win 64
Installer: j9.5 install
InstallPath: c:/users/bill/j9.5
Contact: www.jsoftware.com <http://www.jsoftware.com/>

…by contrast, the output is:

physical screen dimensions: 3440 1440
testNoContainer width, height: 18 18
testHContainer width, height: 200 100
testVContainer width, height: 200 100
testVHContainer width, height: 200 100
testVVHContainer width, height: 200 100

That is, the windows are not maximized.

There is another problem that I cannot as easily isolate but that may be 
related.  From Windows users, I’m suddenly getting multiple reports of the wd 
application I’m supporting freezing on launch.  

I’d very much appreciate any thoughts on what I might be missing here.

Thank you.

Ed


testNoContainer =: {{
wd 'pc form escclose'
wd 'cc context2 webview'
wd 'pshow maximized'
'w h' =. ". wd 'getp wh'
wd 'pclose'
smoutput 'testNoContainer width, height: ' , ": w , h
}}

testHContainer =: {{
wd 'pc form escclose'
wd 'bin h'
wd   'cc context1 isigraph'
wd   'cc context2 checkbox'
wd 'bin z'
wd 'pshow maximized'
'w h' =. ". wd 'getp wh'
wd 'pclose'
smoutput 'testHContainer width, height: ' , ": w , h
}}

testVContainer =: {{
wd 'pc form escclose'
wd 'bin v'
wd   'cc context1 isigraph'
wd   'cc context2 webview'
wd 'bin z'
wd 'pshow maximized'
'w h' =. ". wd 'getp wh'
wd 'pclose'
smoutput 'testVContainer width, height: ' , ": w , h
}}

testVHContainer =: {{
wd 'pc form escclose'
wd 'bin v'
wd   'bin h'
wd     'cc context1 isigraph'
wd     'cc context2 checkbox'
wd   'bin z'
wd   'bin h'
wd     'cc context3 isigraph'
wd     'cc context4 checkbox'
wd   'bin z'
wd 'bin z'
wd 'pshow maximized'
'w h' =. ". wd 'getp wh'
wd 'pclose'
smoutput 'testVHContainer width, height: ' , ": w , h
}}

testVVHContainer =: {{
wd 'pc form escclose'
wd 'bin v'      
wd   'bin h'
wd     'cc cb1 checkbox'
wd     'cc cb2 checkbox'
wd   'bin z'
wd   'bin v'
wd     'bin h'
wd       'cc context1 isigraph'
wd       'cc context2 checkbox'
wd     'bin z'
wd     'bin h'
wd       'cc context3 isigraph'
wd       'cc context4 checkbox'
wd     'bin z'
wd 'bin z'
wd 'pshow maximized'
'w h' =. ". wd 'getp wh'
wd 'pclose'
smoutput 'testVVHContainer width, height: ' , ": w , h
}}

form_close =: {{
wd 'pclose'
}}

go =: {{
smoutput 'physical screen dimensions: ' , ": 2 3 { ". wd 'qscreen'
testNoContainer ''
testHContainer ''
testVContainer ''
testVHContainer ''
testVVHContainer ''
}}

go ''
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to