UraniumUI icon indicating copy to clipboard operation
UraniumUI copied to clipboard

Button of UraniumUI open new windows which cannot be brought to foreground

Open jingliancui opened this issue 10 months ago • 3 comments

Reproduce:

  1. Open the sln using VS
  2. F5 to start the app
  3. Click button "open using uranium"

Actual Result: The new window place in back of MainPage Window

Expect Result1: The new window should be brought to foreground which in front of MainPage

Expect Result2: Effect like you click the button "open using native"

SampleApp.zip

jingliancui avatar Apr 11 '24 12:04 jingliancui

PressedCommand is executed when you start pressing the button, you can use TappedCommand to execute command then you completed clicking. (Same logic with TapGestureRecognizer)

enisn avatar Apr 16 '24 05:04 enisn

Hi @enisn , no, it still can not bring the new windows to foreground, this is the code I try:

<material:ButtonView 
    BackgroundColor="Blue"
    FlexLayout.AlignSelf="Center"
    TappedCommand="{x:Binding NewWinCmd}">
    <Label Text="open using uranium" />
</material:ButtonView>

jingliancui avatar Apr 16 '24 12:04 jingliancui

hi @enisn , may I know is any update plan or workaround for this issue please? thanks.

jingliancui avatar Aug 22 '24 12:08 jingliancui