[Bug 1676879] Re: Broken stack of modal dialogs

2017-04-05 Thread Alan Griffiths
There's no clear steps to reproduce, so I may have missed something. But I can't get these symptoms with miral-app. ** Changed in: miral Status: New => Incomplete ** Changed in: miral (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a

[Bug 1625853] Re: Mouse cursor disappears (or just never changes) when entering the windows of Qt apps

2017-07-11 Thread Alan Griffiths
** Changed in: miral Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625853 Title: Mouse cursor disappears (or just never changes) when entering the win

[Bug 1577770] Re: qml demo shell fails to start

2017-07-14 Thread Alan Griffiths
Probably no longer an issue not relevant (I'm sure I've used the demo shell during the past year). ** Changed in: mir Status: New => Incomplete ** Changed in: qtmir (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement (e.g. dragging client-decorated windows)

2017-07-17 Thread Alan Griffiths
** Changed in: miral Status: Incomplete => In Progress ** Changed in: miral Milestone: None => 1.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1420334 Title: [enhancement] Missing clie

[Bug 1669524] Re: GTK window functions `Always on Top, Move and Resize' don't work in Mir/Unity8

2017-07-17 Thread Alan Griffiths
The fix released in Mir 0.27 covers the API for only one of the three functions mentioned. ** Changed in: mir Status: Fix Released => In Progress ** Changed in: mir (Ubuntu) Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubunt

[Bug 1672012] Re: Unity8 crashed right clicking on vlc [terminate called after throwing an instance of 'std::out_of_range' what(): map::at]

2017-07-17 Thread Alan Griffiths
I can now see something like this with miral-shell: [terminal 1] $ miral-shell [terminal 2] $ miral-xrun vlc Right click a few times in rapid succession. Expect: nothing bad Actual: [terminal 1] Aborted (core dumped) -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 1672012] Re: Unity8 crashed right clicking on vlc [terminate called after throwing an instance of 'std::out_of_range' what(): map::at]

2017-07-18 Thread Alan Griffiths
Actually, I seem to be seeing a new bug: lp:1704949 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672012 Title: Unity8 crashed right clicking on vlc [terminate called after throwing an instance o

[Bug 1685186] Re: Mir needs to be updated in 16.04 and the dependency tree trimmed

2017-05-08 Thread Alan Griffiths
** Changed in: mir (Ubuntu) Status: Confirmed => In Progress ** Description changed: [Impact] Snap development using Mir has been using the "stable phone overlay" PPA which is both inconvenient and a legacy of the cancelled Unity8 project. It would greatly simplify things if Mir

[Bug 1685186] Re: Mir needs to be updated in 16.04 and the dependency tree trimmed

2017-05-09 Thread Alan Griffiths
** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685186 Title: Mir needs to be updated in 16.04 and the dependency tree trimmed To manage notifications about this b

[Bug 1685186] Re: Mir needs to be updated in 16.04 and the dependency tree trimmed

2017-05-10 Thread Alan Griffiths
** Description changed: [Impact] Snap development using Mir has been using the "stable phone overlay" PPA which is both inconvenient and a legacy of the cancelled Unity8 project. It would greatly simplify things if Mir were updated in the Xenial archive. [Test Case] Build a M

[Bug 1685186] Re: Mir needs to be updated to 0.26 in 16.04LTS

2017-05-10 Thread Alan Griffiths
** Summary changed: - Mir needs to be updated in 16.04 and the dependency tree trimmed + Mir needs to be updated to 0.26 in 16.04LTS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685186 Title: Mir

[Bug 1685186] Re: [SRU] Mir needs to be updated to 0.26 in 16.04LTS

2017-05-12 Thread Alan Griffiths
** Changed in: mir (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685186 Title: [SRU] Mir needs to be updated to 0.26 in 16.04LTS To manage noti

[Bug 1685186] Re: [SRU] Mir needs to be updated to 0.26 in 16.04LTS

2017-05-12 Thread Alan Griffiths
** Changed in: mir (Ubuntu) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685186 Title: [SRU] Mir needs to be updated to 0.26 in 16.04LTS To manage noti

[Bug 1669524] Re: GTK window functions `Always on Top, Move and Resize' don't work in Mir/Unity8

2017-03-24 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/client-initiates-user-move-and- resize -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1669524 Title: GTK window functions `Always on Top, Move and Resize

[Bug 1669524] Re: GTK window functions `Always on Top, Move and Resize' don't work in Mir/Unity8

2017-03-24 Thread Alan Griffiths
essed by lp:~alan-griffiths/mir/client-initiates-user-move- and-resize/+merge/320917 Case 2: "Always on top" would be a property of a window, the client could set (or reset) this on the MirWindowSpec. The WM policy gets to decide whether (and how) to respect this property. There's

[Bug 1665286] Re: [unity8] A ghost (shadow only) window opens with some app windows/menus

2017-03-24 Thread Alan Griffiths
** Changed in: mir Status: Incomplete => Invalid ** Changed in: miral Status: Incomplete => Invalid ** Changed in: mir (Ubuntu) Status: Incomplete => Invalid ** Changed in: miral (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because yo

[Bug 1625397] Re: [gtk] Focus is stuck on the save as window vs the main window

2017-03-24 Thread Alan Griffiths
** Changed in: miral Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625397 Title: [gtk] Focus is stuck on the save as window vs the main window To manage notifi

[Bug 1669524] Re: GTK window functions `Always on Top, Move and Resize' don't work in Mir/Unity8

2017-03-30 Thread Alan Griffiths
The branch that landed was only part of the solution to one of the problems ** Changed in: mir Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1669524 Title:

[Bug 1669524] Re: GTK window functions `Always on Top, Move and Resize' don't work in Mir/Unity8

2017-03-30 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/server-support-for-client- initiates-move -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1669524 Title: GTK window functions `Always on Top, Move and Resize

[Bug 1672960] Re: unity-system-compositor crashed with SIGSEGV in invoke() from mir::frontend::detail::ProtobufMessageProcessor::dispatch:on_new_message() from on_read_size()

2017-10-12 Thread Alan Griffiths
** Changed in: mir Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672960 Title: unity-system-compositor crashed with SIGSEGV in invoke() from mir::fron

[Bug 1705973] Re: miral-shell allows the splashscreen to be occluded

2017-10-12 Thread Alan Griffiths
** Changed in: mir Status: Fix Committed => Fix Released ** Changed in: miral (Ubuntu) Status: Triaged => Fix Released ** Changed in: miral (Ubuntu) Milestone: None => ubuntu-17.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 1604425] Re: Trust session cannot be created on Unity8 desktop session

2016-07-20 Thread Alan Griffiths
Is this the same as lp:1494197? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604425 Title: Trust session cannot be created on Unity8 desktop session To manage notifications about this bug go to:

[Bug 1605074] Re: 2 mouse pointers (one should be hidden)

2016-07-21 Thread Alan Griffiths
Brandon, assuming the game & SDL work the same on U7 and XMir the problem isn't there. So that's not where I'd be looking. The things to check are: 1. XMir passes "hide cursor" to mir-client? 2. mir-client passes "hide cursor" to mir-server 3. mir-server passes "hide cursor" to QtMir 4. QtMir pas

[Bug 1605074] Re: 2 mouse pointers (one should be hidden)

2016-07-21 Thread Alan Griffiths
And (testing xenial packages) there are two cursors with miral-shell. ** Changed in: qtmir Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605074 Title: 2 mouse pointer

[Bug 1605074] Re: supertux2 has two mouse pointers (one should be hidden)

2016-07-22 Thread Alan Griffiths
You can see the same thing running 7kaa on Xmir. 7kaa hides the cursor fine when run with SDL_VIDEODRIVER=mir. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605074 Title: supertux2 has two mouse po

[Bug 1599862] Re: No OSK in Google account creation on turbo

2016-07-07 Thread Alan Griffiths
this could be a dup of lp:1540731. There's a test case: https://bazaar.launchpad.net/~mir-team/mir /development-branch/view/head:/tests/acceptance- tests/test_prompt_session_client_api.cpp#L615 Could someone with access to a device please compile & run that and report back? -- You received this

[Bug 1599862] Re: No OSK in Google account creation on turbo

2016-07-07 Thread Alan Griffiths
Saviq: sent you the binary to test the kernel regression AlbertA, Error: Operation not supported Saviq: yep that's the regression -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1599862 Title: No O

[Bug 1570698] Re: CI failure in TestClientInput.receives_one_touch_event_per_frame

2016-07-08 Thread Alan Griffiths
Again: https://mir-jenkins.ubuntu.com/job/build-2-binpkg- mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/1476/consoleFull 10:15:01 11: [ RUN ] TestClientInput.receives_one_touch_event_per_frame 10:15:01 11: [2016-07-08 10:15:01.272873] mirserver: Starting 10:15:01 11: [2016-07-08 10:15:01

[Bug 1601810] Re: ftbfs in linking libmir-test-assist.a in xenial+overlay and yakkety+overlay

2016-07-12 Thread Alan Griffiths
As we want to test libmir-test-assist.a for downstream use linking to the static library instead is not an acceptable solution. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1601810 Title: ftbfs in

[Bug 1601810] Re: ftbfs in linking libmir-test-assist.a in xenial+overlay and yakkety+overlay

2016-07-12 Thread Alan Griffiths
That explanation sounds incomplete. libmirserver.so really shouldn't be mentioning gmock templates. And "target_link_libraries(mir_acceptance_tests" also mentions libmir- test-assist.a before libmirserver.so. But if the solution works... -- You received this bug notification because you are a m

[Bug 1570698] Re: CI failure in TestClientInput.receives_one_touch_event_per_frame

2016-05-05 Thread Alan Griffiths
https://mir-jenkins.ubuntu.com/job/build-2-binpkg- mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/1015/consoleFull ... 22:06:59 11: Expected: to be called between 50 and 150 times 22:06:59 11: Actual: called 167 times - over-saturated and active 22:06:59 11: /��BUILDDIR��/mir-0.23.0+xeni

[Bug 1445543] Re: Multi-window GTK apps in Mir are randomly unresponsive, seem to freeze

2016-04-25 Thread Alan Griffiths
** Description changed: GTK apps on Mir: Input focus is unreliable and sporadic. Background windows ignore input and/or focus switches apparently randomly. + + Example: + + $ GDK_BACKEND=mir mir_demo_server --launch gnome-mahjongg + + Show the "Scores" - you can switch focus between this an

[Bug 1571556] Re: Some GTK windows lose interaction

2016-04-25 Thread Alan Griffiths
*** This bug is a duplicate of bug 1445543 *** https://bugs.launchpad.net/bugs/1445543 ** This bug has been marked a duplicate of bug 1445543 Multi-window GTK apps in Mir are randomly unresponsive, seem to freeze -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-26 Thread Alan Griffiths
I've not yet investigated to determine when this was fixed, but I can't reproduce an "unrecoverable" state using 0.21 (or the current trunk). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447886 Titl

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-26 Thread Alan Griffiths
Was also fixed in 0.18. ** Changed in: mir (Ubuntu) Status: Triaged => Fix Released ** Changed in: mir Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-26 Thread Alan Griffiths
OK, I get what you're saying now. OTOH I do think there's been a significant improvement at some point in the past: in that there's no "unrecoverable state". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 1575192] [NEW] Mir-on-X11 breaks mir_proving_server resize logic

2016-04-26 Thread Alan Griffiths
Public bug reported: $ mir_proving_server& $ mir_demo_client_egltriangle Alt+drag with middle mouse button Expect: client is resized Actual: Nothing happens A bit of investigation shows that the mouse-button-down event isn't being received. (The movement event is received.) (The problem doesn'

[Bug 1535297] Re: Unity8 crashes on logout with "Error in `unity8': double free or corruption" called from libprotobuf.so.9, called from libprotobuf-lite.so.9

2016-04-27 Thread Alan Griffiths
I suspect the right solution is to fix the approach taken in Mesa to detecting Mir: All the above modules should be loaded with RTLD_LOCAL. As far as I can tell they are so they shouldn't interact. However, Mir's mesa.so.X client platform module reloads itself with RTLD_GLOBAL so that Mesa can fi

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-27 Thread Alan Griffiths
** Also affects: miral Importance: Undecided Status: New ** Changed in: miral Status: New => Confirmed ** Changed in: miral Importance: Undecided => Medium ** Changed in: miral Assignee: (unassigned) => Alan Griffiths (alan-griffiths) ** Branch linked:

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-28 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/fix-1447886 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447886 Title: mir_demo_server(_minimal): Window movement/resizing stops responding when the

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-04-28 Thread Alan Griffiths
** Changed in: mir Milestone: None => 0.23.0 ** Changed in: mir Assignee: (unassigned) => Alan Griffiths (alan-griffiths) ** Changed in: mir Status: Triaged => In Progress ** Changed in: miral Status: Confirmed => In Progress -- You received this bug

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement

2016-04-28 Thread Alan Griffiths
How much of this need is addressed by mir_surface_spec_set_streams() et alia? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1420334 Title: [enhancement] Missing client API for relative surface movem

[Bug 1575192] Re: Mir-on-X11 breaks mir_proving_server resize logic

2016-04-28 Thread Alan Griffiths
The middle button is 2 (correctly mapped to mir_pointer_button_tertiary). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1575192 Title: Mir-on-X11 breaks mir_proving_server resize logic To manage no

[Bug 1575192] Re: Mir-on-X11 breaks mir_proving_server resize logic

2016-04-28 Thread Alan Griffiths
OK, it (sort of) makes sense that compiz takes the Alt-middle down event but passes on the drag. And that explains everything except it working for Cemil. (Is he using Unity7?) ** Branch linked: lp:~cemil-azizoglu/mir/fix-1575765 ** Changed in: mir Status: New => Confirmed ** Changed in:

[Bug 1576260] Re: Can't VT switch from mir_demo_server

2016-04-28 Thread Alan Griffiths
I've not encountered this problem - VT switching works for me (on desktop and a couple of Thinkpad laptops). Is this specific to certain devices? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576260

[Bug 1576260] Re: Can't VT switch from mir_demo_server

2016-04-28 Thread Alan Griffiths
I've not encountered this problem - VT switching works for me (on desktop and a couple of Thinkpad laptops). Is this specific to certain devices? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576260

[Bug 1575192] Re: Mir-on-X11 breaks mir_proving_server resize logic

2016-04-29 Thread Alan Griffiths
** This bug is no longer a duplicate of bug 1575765 Mir-on-X11 doesn't pass Alt+button drag to Mir -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1575192 Title: Mir-on-X11 breaks mir_proving_serve

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement

2016-08-30 Thread Alan Griffiths
** Changed in: mir Assignee: (unassigned) => Alan Griffiths (alan-griffiths) ** Changed in: mir Status: Triaged => In Progress ** Branch linked: lp:~alan-griffiths/mir/RFC-API-to-support- gdk_window_move_to_rect -- You received this bug notification because you are a mem

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement

2016-08-31 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/support-gdk_window_move_to_rect ** Branch unlinked: lp:~alan-griffiths/mir/RFC-API-to-support- gdk_window_move_to_rect -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement

2016-08-31 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/miral/connect- gdk_window_move_to_rect-inspired-placement-logic-to-Mir-0.25-API ** Also affects: miral Importance: Undecided Status: New ** Changed in: miral Status: New => In Progress ** Changed in: miral Importance: Undecided =>

[Bug 1619616] Re: mir fails to build with protobuf3

2016-09-02 Thread Alan Griffiths
** Changed in: mir (Ubuntu) Assignee: (unassigned) => Alan Griffiths (alan-griffiths) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: mir fails to build with protobuf3 To man

[Bug 1619616] Re: mir fails to build with protobuf3

2016-09-02 Thread Alan Griffiths
sensible -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: mir fails to build with protobuf3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mir/+

[Bug 1619616] Re: mir fails to build with protobuf3

2016-09-02 Thread Alan Griffiths
Only on powerpc64? I don't have one of those. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: mir fails to build with protobuf3 To manage notifications about this bug go to: https://bu

[Bug 1619616] Re: mir fails to build with protobuf3

2016-09-02 Thread Alan Griffiths
This is during the second dlopen(libmirprotobuf...) and in the initialization code. So it seems similar to the problems discussed in lp:1391976. But the workaround linked there is clearly no longer adequate. (gdb) bt #0 google::protobuf::internal::Mutex::Lock (this=this@entry=0x0) at google/prot

[Bug 1619616] Re: mir fails to build with protobuf3

2016-09-02 Thread Alan Griffiths
't time to chase down the history. ** Changed in: mir (Ubuntu) Assignee: Alan Griffiths (alan-griffiths) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title:

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-05 Thread Alan Griffiths
It looks very much as though protobuf3 reverts this change: $ bzr log -c 295 lp:protobuf I've not yet proved that's the whole problem, but it would explain it. ** Changed in: mir (Ubuntu) Assignee: (unassigned) => Alan Griffiths (alan-griffiths) -- You received this bug

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-05 Thread Alan Griffiths
Here's the fix to +branch/ubuntu/wily-proposed/protobuf/ that fixes the problem with reloading modules that depend on protobuf. ** Attachment added: "Forward port fix from protobuf 2.6" https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1619616/+attachment/4734807/+files/fix-protobuf -- You

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-05 Thread Alan Griffiths
Ooops!! that's based on the wrong branch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT) To manage notifications abou

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-05 Thread Alan Griffiths
Patch for the correct branch ** Attachment added: "fix-protobuf" https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1619616/+attachment/4734930/+files/fix-protobuf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-06 Thread Alan Griffiths
There was a hack put into Mir around the end of June 2015 as linked by Daniel (https://code.launchpad.net/~vanvugt/mir/fix-1391976/+merge/262678). As the comment suggests this was pending "a proper fix will come from libprotobuf itself but this way we don't need to wait for that". This "hack" was

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-06 Thread Alan Griffiths
I'm very suspicious of my laptop running yakkety - even with "proposed" purged it is now crashing every few minutes (which makes keeping track of things a PITA). The root cause is probably a failure in protobuf to re-initalise static data when clients call google::protobuf::ShutdownProtobufLibrary

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
OK, I have rebuild laptop and have a less flaky system. This (updated) patch is only a proof-of-concept as it clearly leaks resources on program exit in this form. OTOH it does make the Mir test pass, so I have found the right problem. ** Attachment added: "fix-protobuf" https://bugs.launchpa

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
A simpler fix that removes the assumption that the shared library will be unloaded between uses ** Attachment added: "fix-protobuf" https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1619616/+attachment/4736108/+files/fix-protobuf -- You received this bug notification because you are a membe

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
But I don't yet see how 2.6.1 avoided this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT) To manage notificat

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
Oops. The patch in #18 is for google/protobuf/stubs/common.cc: 415d414 < shutdown_functions = new vector; 425a425,426 > if (internal::shutdown_functions == NULL) > shutdown_functions = new vector; 446,447d446 < delete internal::shutdown_functions_mutex; < internal::shutdown_functions_m

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
The reason 2.6.1 works is that libprotobuf-lite-so.9 is unloaded each iteration. But with the move to 3.0.0 that no longer happens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619616 Title: Mir t

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
This shows the problem, but not the underlying cause: $ gdb bin/mir_test_reload_protobufGNU gdb (Ubuntu 7.11.90.20160906-0ubuntu1) 7.11.90.20160906-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free soft

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-07 Thread Alan Griffiths
In any case, if protobuf choses to remain resident it is only polite to work when the startup/shutdown cycle is repeated. (And that's what the patch achieves.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-08 Thread Alan Griffiths
Narrowing the problem: it isn't any of the Mir code, or the generated code, or explicit calls into libprotobuf-lite. The following program loads and unloads libprotobuf-lite.so from 2.6.1 successfully. With 3.0.0 it fails to unload. #include #include int main(int argc, char** argv) { char

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-08 Thread Alan Griffiths
Hmm the library publishes a load of symbols that seem unnecessary at best: $ readelf -Ws /usr/local/lib/libprotobuf-lite.so | grep -v " UND " | grep -v 6google8protobuf | wc -l 123 2.6.1 seems far more reasonable: $ readelf -Ws /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9 | grep -v " UND "

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-08 Thread Alan Griffiths
** Description changed: builds with 3.0.0-7, then has one failing test: test 19 Start 19: Protobuf-can-be-reloaded 19: Test command: /<>/mir-0.24.0+16.10.20160815.3/obj-powerpc64le-linux-gnu/bin/mir_test_reload_protobuf 19: Test timeout computed to be: 9.99988e+06 19/19 Te

[Bug 1619616] Re: Mir test fails with protobuf3: Protobuf-can-be-reloaded (SEGFAULT)

2016-09-08 Thread Alan Griffiths
Same patch as mentioned in #18 and #20 formatted better ** Attachment added: "my least bad solution" https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1619616/+attachment/4736828/+files/fix-protobuf ** Changed in: mir Milestone: 0.25.0 => None ** Changed in: mir (Ubuntu) Milestone:

[Bug 1639745] Re: Mir GL clients never appear at all on VirtualBox

2016-12-02 Thread Alan Griffiths
Also affects VM (qemu/kvm) lp:1646532 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1639745 Title: Mir GL clients never appear at all on VirtualBox To manage notifications about this bug go to: htt

[Bug 1627750] Re: gnome-terminal displays input in wrong window

2016-12-07 Thread Alan Griffiths
** Also affects: gtk+3.0 (Ubuntu) Importance: Undecided Status: New ** No longer affects: gtk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1627750 Title: gnome-terminal displays input in

[Bug 1445543] Re: Multi-window GTK apps in Mir are randomly unresponsive, seem to freeze

2016-12-07 Thread Alan Griffiths
Seems to be working with gtk 3 on zesty - so not Mir. ** Changed in: mir Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445543 Title: Multi-window GTK apps in Mir are

[Bug 1625397] Re: [gtk] Focus is stuck on the save as window vs the main window

2016-12-07 Thread Alan Griffiths
** Also affects: gtk+3.0 (Ubuntu) Importance: Undecided Status: New ** No longer affects: gtk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625397 Title: [gtk] Focus is stuck on the save

[Bug 1629275] Re: Clients all crash (and sometimes server too)

2016-12-07 Thread Alan Griffiths
Not reproducible on zesty - probably fixed by changes to gtk-3 (or gnome-terminal). Marking invalid in Mir. ** Changed in: mir Status: Incomplete => Invalid ** Changed in: mir (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu

[Bug 1445542] Re: Using the Mir backend, secondary windows of GTK apps open behind the primary window

2016-12-07 Thread Alan Griffiths
[Testing on zesty] I don't see the problem behaviour using miral-shell or mir_demo_server, but maybe I'm just not trying the right apps? (remmina fails with a new error: "GdkMirDisplay does not implement the monitor vfuncs".) Marking "Incomplete" pending a way to reproduce with the current codeba

[Bug 1648292] Re: Running Mir-Server snap, gives error! [Unknown command line options: --vt 1]

2016-12-09 Thread Alan Griffiths
There are two problems being discussed: /1/ mir doesn't work on the current Ubuntu snappy core kernel for Raspberry pi 2; and, /2/ Mir does not give good diagnostic information from our attempt at automaticity deciding on the right graphics stack. IMO systems that try a series of options (in th

[Bug 1570698] Re: CI failure in TestClientInput.receives_one_touch_event_per_frame

2016-12-13 Thread Alan Griffiths
12:32:46 11: [ RUN ] TestClientInput.receives_one_touch_event_per_frame 12:32:46 11: [2016-12-13 12:32:46.184830] mirserver: Starting 12:32:46 11: [2016-12-13 12:32:46.188127] mirserver: Selected driver: mir:stub-graphics (version 0.26.0) 12:32:46 11: [2016-12-13 12:32:46.501072] mirserver: Using

Re: [Bug 1649696]/usr/include/mirclient/mir_toolkit/events/event.h:24:32: fatal error: mir_toolkit/common.h: No such file or directory

2016-12-13 Thread Alan Griffiths
gt; Assignee: (unassigned) => Brandon Schaefer (brandontschaefer) > The header moved to mircore-dev, which is a dependency of miclient-dev and mirserver-dev. Reinstall one of them. -- Alan Griffiths. +44 (0)798 9938 758 Octopull Limited. http://www.octopull.co.uk/ -- You received t

[Bug 1590099] Re: Need to support pointer confinement in Mir and toolkits using Mir

2016-09-22 Thread Alan Griffiths
** Changed in: miral Assignee: (unassigned) => Daniel d'Andrada (dandrader) ** Changed in: miral Status: Triaged => In Progress ** Branch linked: lp:~dandrader/miral/confine_pointer ** Changed in: miral Importance: Wishlist => Medium -- You received this bug notification because

[Bug 1613220] Re: [needs-packaging] MirAL needs packaging

2016-09-22 Thread Alan Griffiths
** Changed in: miral Status: In Progress => Fix Released ** Changed in: ubuntu Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1613220 Title: [needs-

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-09-22 Thread Alan Griffiths
** Changed in: miral Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447886 Title: mir_demo_server(_minimal): Window movement/resizing stops responding

[Bug 1626804] Re: Qt apps can't run under Mir [Gtk-WARNING **: cannot open display: ]

2016-09-23 Thread Alan Griffiths
Something like mirrun? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626804 Title: Qt apps can't run under Mir [Gtk-WARNING **: cannot open display: ] To manage notifications about this bug go to:

[Bug 1626804] Re: Qt apps can't run under Mir [Gtk-WARNING **: cannot open display: ]

2016-09-23 Thread Alan Griffiths
Really, I've been running qt apps under mir_demo_server, miral-shell and egmde for ages, there isn't a problem. You need: sudo apt-get install qtubuntu-desktop mir-utils And then: mirrun qterminal ** Changed in: canonical-devices-system-image Status: New => Invalid ** Changed in: platf

[Bug 1590099] Re: Need to support pointer confinement in Mir and toolkits using Mir

2016-09-26 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/miral/confine_pointer ** Changed in: miral Status: In Progress => Fix Committed ** Changed in: miral Assignee: Daniel d'Andrada (dandrader) => Alan Griffiths (alan-griffiths) -- You received this bug notification because you are

[Bug 1420334] Re: [enhancement] Missing client API for relative surface movement

2016-09-26 Thread Alan Griffiths
I think the right way forward is to allow the client to request drag (similar to the existing mir_surface_raise() request). William, can you confirm this could work for you? ** Changed in: mir Status: In Progress => Incomplete ** Changed in: miral Status: In Progress => Incomplete

[Bug 1592932] Re: non-puritine Xapp causing unity8 using 100% of CPU

2016-09-27 Thread Alan Griffiths
*** This bug is a duplicate of bug 1625401 *** https://bugs.launchpad.net/bugs/1625401 Possibly a result of lp:1625401? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592932 Title: non-puritine

[Bug 1625853] Re: Mouse cursor disappears (or just never changes) when entering the windows of Qt apps

2016-09-28 Thread Alan Griffiths
** Changed in: miral Status: Invalid => In Progress ** Changed in: miral Importance: Undecided => Low ** Changed in: miral Assignee: (unassigned) => Alan Griffiths (alan-griffiths) ** Branch linked: lp:~alan-griffiths/miral/cursor-theme -- You received this bug not

[Bug 1625853] Re: Mouse cursor disappears (or just never changes) when entering the windows of Qt apps

2016-09-28 Thread Alan Griffiths
** Changed in: miral Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625853 Title: Mouse cursor disappears (or just never changes) when entering the wind

[Bug 1571556] Re: Some GTK windows lose interaction

2016-04-18 Thread Alan Griffiths
MIR_CLIENT_INPUT_RECEIVER_REPORT=log shows the input events being correctly received on the client side. ** Also affects: gtk+3.0 (Ubuntu) Importance: Undecided Status: New ** Changed in: mir Status: New => Invalid ** Changed in: mir Status: Invalid => Triaged ** Descrip

[Bug 1447886] Re: mir_demo_server(_minimal): Window movement/resizing stops responding when the cursor leaves the surface, and can lead to windows 1px wide and unrecoverable.

2016-06-09 Thread Alan Griffiths
** Changed in: miral Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447886 Title: mir_demo_server(_minimal): Window movement/resizing stops responding w

[Bug 932125] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-13 Thread Alan Griffiths
Daniel. I can confirm that https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/953214 is from "compiz 1:0.9.7.0+bzr3035-0ubuntu1", which should include c2998. Still not been able to reproduce though - even though chromium is my favourite browser. Reading through reports for clues how to reprodu

[Bug 953214] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-13 Thread Alan Griffiths
All the other "dups" of 932125 are in code that predates c2998. The exception is this one from "compiz 1:0.9.7.0+bzr3035-0ubuntu1", which should include c2998. But it very different - e.g. "CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'" vs "CompizPlugins:

[Bug 953214] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-13 Thread Alan Griffiths
** Changed in: compiz (Ubuntu) Assignee: (unassigned) => Alan Griffiths (alan-griffiths) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/953214 Title: compiz crashed with SIGSEGV in Glib::Sou

[Bug 953214] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-13 Thread Alan Griffiths
On the umpteenth restart of compiz I got this error (or something very similar). And a core file! (Yes, that makes me happy - is that sad.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/953214 Title

[Bug 953214] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-14 Thread Alan Griffiths
*** This bug is a duplicate of bug 932125 *** https://bugs.launchpad.net/bugs/932125 I think this really is a duplicate, and not related to the teardown sequence problems that existed after r2987 (and were fixed in r2998). Still digging. ** This bug has been marked a duplicate of bug 932125

[Bug 953089] Re: Unity 5.6: key bindings (such as Super) don't work on empty workspace

2012-03-15 Thread Alan Griffiths
"Narrowed the problem down to TapTimeUnderLimit() returning false, ... on slow/busy machines" ... bool Controller::Impl::TapTimeUnderLimit() { int time_difference = TimeSinceLauncherKeyPress(); return time_difference < local::super_tap_duration; } ... I don't have a fix, but it isn't surprisi

[Bug 932125] Re: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc()

2012-03-15 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/compiz-compizconfig- gconf/Bug-953214 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/932125 Title: compiz crashed with SIGSEGV in Glib::Source::prepare_vfunc

<    1   2   3   4   5   6   >