Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown list is shown behind button #1275

Closed
hagsted opened this issue Mar 6, 2023 · 10 comments
Closed

Dropdown list is shown behind button #1275

hagsted opened this issue Mar 6, 2023 · 10 comments

Comments

@hagsted
Copy link

hagsted commented Mar 6, 2023

Describe the bug
I have a drop down list in the UI that is shown behind the button which sits just below the list. When I try to select anything in the list it seem that it is correctly place above the button. So it is merely cosmetic

Expected behavior
I expect the list to be shown on top of the button.

Screenshots
image

Environment (please complete the following information):

  • Windows 11 22H2
  • Version: 2413

I cannot see any info in the trace added after I click the list. If I need to run with special option please advice me how to do it.

trace1.txt is made with:
set WINEDEBUG=+all,-snoop,-ldt,-fixup,-module,-global,-local,-disasm,-syslevel,-thunk

trace2.txt is made with:
set WINEDEBUG=+relay

Best regards Kristian
trace1.txt
trace2.txt

@cracyc
Copy link
Contributor

cracyc commented Mar 6, 2023

Use the steps at #226 (comment) to make a trace.

@hagsted
Copy link
Author

hagsted commented Mar 7, 2023

I have added traces to the original post

@cracyc
Copy link
Contributor

cracyc commented Mar 7, 2023

Something went wrong here. Trace1 is cut off after the first few lines and trace2 is empty.

@hagsted
Copy link
Author

hagsted commented Mar 8, 2023

I tried to make the traces again with the same winedebug, but got the same result. Instead I have made a trace with "set WINEDEBUG=+all. Which I have attached here.
trace_OS.txt

The software OS is communicating with some other software (EX) through files. I also have a trace for that, but I don't think it is relevant, and it is 31 MB large. If you want please tell me.

Best regards Kristian

@cracyc
Copy link
Contributor

cracyc commented Mar 8, 2023

It's still cut off. I don't know what to suggest because I haven't seen that happen before.

@hagsted
Copy link
Author

hagsted commented Mar 9, 2023

Hi I tried to use version 2396 instead, and that seems to give a full trace, which I have attached.
"set WINEDEBUG=+all,-snoop,-ldt,-fixup,-module,-global,-local,-disasm,-syslevel,-thunk" was used
trace.txt

@cracyc
Copy link
Contributor

cracyc commented Mar 11, 2023

There's nothing obvious in that trace. Is there a way I can run it myself, a demo or something?

@hagsted
Copy link
Author

hagsted commented Mar 13, 2023

I have attached an emulator version of the software. The version is somewhat old, compared to the version that we use in production. however it does show the same problem, albeit it is a little hard to locate a place where it is obvious.

  • Copy STS folder c:\
  • Go to c:\STS\MPX\EXE.
  • Start EM (Emulator, needs to run)
  • Start EX (Data exchange, needs to run)
  • Start OS (Operator station, here the problem is visible)
  • When asked login in, select administrator, password: "adm"
  • Open the control menu and select Sequencer
  • Press view, in the sequencer windows
  • The dropdown behind button, is visible if you click in the "Description" field.
  • It can also be seen if you press edit and click in the "Recipe" of "Clean recipe" field

Even as the list is shown behind the buttons, clicking on the button will select the entry in the last that should have been shown above.

STS.zip

I do hope this can help you. And thanks for all you effort.

@cracyc
Copy link
Contributor

cracyc commented Mar 14, 2023

This is caused by https://github.com/otya128/winevdm/blob/master/user/window.c#L3198 removing WS_CLIPSIBLINGS. @otya128 would know what it's for.

otya128 added a commit that referenced this issue Mar 14, 2023
@hagsted
Copy link
Author

hagsted commented Mar 15, 2023

Again thanks for the quick solution. otya128 solution have been tested and is working for me.

@hagsted hagsted closed this as completed Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants