miral-shell gets to step 5 before there's a focus issue. Here's the
problem:

[2017-03-16 14:14:51.298369] miral::Window Management: info_for -> Open File
[2017-03-16 14:14:52.798261] miral::Window Management: handle_modify_window 
window_info={name=Open File, type=dialog, state=restored, parent=Untitled , 
children={}, min_width=325, min_height=178, max_width=16777215, 
max_height=16777215, preferred_orientation=0xf, confine_pointer=0, 
output_id=0}, modifications={state=hidden}
[2017-03-16 14:14:52.798423] miral::Window Management: modify_window 
window_info={name=Open File, type=dialog, state=restored, parent=Untitled , 
children={}, min_width=325, min_height=178, max_width=16777215, 
max_height=16777215, preferred_orientation=0xf, confine_pointer=0, 
output_id=0}, modifications={state=hidden}
[2017-03-16 14:14:52.798490] miral::Window Management: advise_state_change 
window_info={name=Open File, type=dialog, state=restored, parent=Untitled , 
children={}, min_width=325, min_height=178, max_width=16777215, 
max_height=16777215, preferred_orientation=0xf, confine_pointer=0, 
output_id=0}, state=hidden
[2017-03-16 14:14:52.798560] miral::Window Management: advise_focus_gained 
window_info={name=Open File, type=dialog, state=restored, parent=Untitled , 
children={}, min_width=325, min_height=178, max_width=16777215, 
max_height=16777215, preferred_orientation=0xf, confine_pointer=0, output_id=0}
[2017-03-16 14:14:52.798609] miral::Window Management: raise_tree root=Open File
[2017-03-16 14:14:52.798658] miral::Window Management: advise_raise 
window_info={Untitled , Open File}
[2017-03-16 14:14:52.798712] miral::Window Management: advise_raise 
window_info={Open File}
[2017-03-16 14:14:52.798833] miral::Window Management: advise_focus_lost 
window_info={name=Open File, type=dialog, state=restored, parent=Untitled , 
children={}, min_width=325, min_height=178, max_width=16777215, 
max_height=16777215, preferred_orientation=0xf, confine_pointer=0, output_id=0}

It looks as though miral is not handling the hiding of the child dialog
correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1671072

Title:
  Child windows don't get focused

Status in Canonical System Image:
  Triaged
Status in MirAL:
  In Progress
Status in miral package in Ubuntu:
  New
Status in qtmir package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  In Progress

Bug description:
  1. Start Kate
  2. Press Ctrl+O to open the file dialog
  3. Notice the file dialog "appears" to be focused, the cursor in the filename 
text field is blinking but you can't start typing the filename and you can't 
e.g. dismiss the dialog by pressing Esc
  4. Only after you've clicked the filename textfield, you can start typing and 
hit Esc to close
  5. After closing the dialog, you are left with no focused window at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1671072/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to