[Bug 1651384] Re: [MIR] miral

2016-12-20 Thread Alan Griffiths
That's a Mir bug lp:1651391 do we need a workaround in miral? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1651384 Title: [MIR] miral To manage notifications about this bug go to: https://bugs.lau

[Bug 1651391] Re: Package mirtest-dev is missing a dependency on mir-renderer-gl-dev

2016-12-20 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/fix-1651391 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1651391 Title: Package mirtest-dev is missing a dependency on mir-renderer-gl-dev To manage

[Bug 1651391] [NEW] Package mirtest-dev is missing a dependency on mir-renderer-gl-dev

2016-12-20 Thread Alan Griffiths
, but that's a secondary issue.) ** Affects: mir Importance: Medium Assignee: Alan Griffiths (alan-griffiths) Status: In Progress ** Affects: mir (Ubuntu) Importance: Undecided Status: Triaged ** Changed in: mir Importance: Undecided => Medium ** Also

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 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

[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 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 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 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 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 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 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 1627697] Re: gnome-terminal crashes on resize

2016-11-30 Thread Alan Griffiths
gtk seems to be fixed on 17.04 ** 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/1627697 Title: gnome-terminal crashes on resize To ma

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

2016-11-24 Thread Alan Griffiths
Again: https://mir-jenkins.ubuntu.com/job/build-2-binpkg- mir/arch=amd64,compiler=clang,platform=mesa,release=yakkety/2970/consoleFull 12:05:28 9: Actual function call count doesn't match EXPECT_CALL(first_client, handle_input(_))... 12:05:28 9: Expected: to be called between 20 and 180 times 12

[Bug 1542029] Re: New windows have incorrect dimensions on launch (not the dimensions the app specifies)

2016-11-17 Thread Alan Griffiths
Can we have a specific example of the bug? The size of the window requested is a hint to the window manager, not a requirement. The requested size may legitimately be overridden (e.g. for layout reasons). I.e. There is no guarantee that size created matches the requested size. ** Changed in: mir

[Bug 1627697] Re: gnome-terminal crashes on resize

2016-11-14 Thread Alan Griffiths
** Also affects: gtk+3.0 (Ubuntu) Importance: Undecided Status: New ** Also affects: gtk Importance: Undecided Status: New ** No longer affects: miral ** No longer affects: gtk+3.0 (Ubuntu) ** Also affects: miral Importance: Undecided Status: New ** Changed in: mi

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

2016-10-04 Thread Alan Griffiths
Console log from gnome-terminal (with MIR_CLIENT_RPC_REPORT=log) [2016-10-04 15:41:58.721290] rpc: Invocation request: id: 52 method_name: submit_buffer [2016-10-04 15:41:58.721397] rpc: Invocation succeeded: id: 52 method_name: submit_buffer [2016-10-04 15:41:58.727375] rpc: Invocation reque

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

2016-10-04 Thread Alan Griffiths
** Changed in: miral Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629275 Title: Clients all crash (and sometimes server too) To manage notifications about this

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

2016-10-04 Thread Alan Griffiths
** Summary changed: - Clients and server all crash + Clients all crash (and sometimes server too) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629275 Title: Clients all crash (and sometimes serv

[Bug 1629275] Re: Clients and server all crash

2016-10-04 Thread Alan Griffiths
n Actual (most times): gnome-terminal and all the clients crash Actual (frequently): gnome-terminal, all the clients, and the server crash Actual (occasionally): all the clients open + + The "frequent" server crash is lp:1607812, this bug is for the client + crash ** Branch unlink

[Bug 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
It is also worth noting that starting the mir clients outside the gnome- terminal seems stable. So whatever weirdness is going on client-side is associated with gnome-terminal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bu

[Bug 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
Using qterminal in place of gnome-terminal works, so I think the server crash may be the only Mir problem here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629275 Title: Clients and server all cr

[Bug 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
** Branch linked: lp:~alan-griffiths/mir/fix-server-crash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629275 Title: Clients and server all crash To manage notifications about this bug go to

[Bug 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
And this is where the "signal comes from: #1 0x777672fa in mir::terminate_with_current_exception () at /home/alan/display_server/mir/src/server/terminate_with_current_exception.cpp:52 #2 0x778af4c2 in mir::compositor::CompositingFunctor::operator() (this=0x559fcae0)

[Bug 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
The reason the server exits is: Thread 1 "mir_demo_server" received signal SIGTERM, Terminated. 0x76ea6200 in __libc_sendmsg (fd=40, msg=0x7fffc3f0, flags=16384) at ../sysdeps/unix/sysv/linux/sendmsg.c:28 28 ../sysdeps/unix/sysv/linux/sendmsg.c: No such file or directory. (gdb) i

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

2016-10-03 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/1590099 Title: Need to support pointer confinement in Mir and toolkits using Mir To m

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

2016-10-03 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 1629275] Re: Clients and server all crash

2016-10-03 Thread Alan Griffiths
** Also affects: ubuntu Importance: Undecided Status: New ** Package changed: ubuntu => mir (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629275 Title: Clients and server all cr

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

2016-09-30 Thread Alan Griffiths
** Changed in: miral Milestone: None => 0.2 -- 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 windows of Qt apps T

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

2016-09-30 Thread Alan Griffiths
** Changed in: miral Milestone: None => 0.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1590099 Title: Need to support pointer confinement in Mir and toolkits using Mir To manage notification

[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 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 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 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 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 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 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 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 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 1624407] Re: Closing an application doesn’t actually close it, it merely requests all its windows to be closed

2016-09-16 Thread Alan Griffiths
It is not out of place at all - just an enhancement request. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1624407 Title: Closing an application doesn’t actually close it, it merely requests all i

[Bug 1624407] Re: Closing an application doesn’t actually close it, it merely requests all its windows to be closed

2016-09-16 Thread Alan Griffiths
AFAIK Mir follows the same model as X11 (which has the WM_DELETE_WINDOW message but no WM_QUIT). I guess you could kill(pid, SIGTERM)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1624407 Title: Cl

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

2016-09-09 Thread Alan Griffiths
** Changed in: ubuntu Assignee: Alan Griffiths (alan-griffiths) => Larry Price (larryprice) ** Description changed: Mir Abstraction Layer An abstraction layer over Mir aimed at stabilizing the interface needed to develop Mir servers. The project contains both the abstract

[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 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
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
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-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-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
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
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
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
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
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-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-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-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-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
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
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 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 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
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
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
** 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 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 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-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 1613220] [NEW] MirAL needs packaging

2016-08-15 Thread Alan Griffiths
Public bug reported: Filed according to advice on https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages ** Affects: ubuntu Importance: Undecided Assignee: Alan Griffiths (alan-griffiths) Status: New ** Changed in: ubuntu Assignee: (unassigned) => Alan Griffiths (a

[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 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: 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 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 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 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 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 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 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 1592691] Re: mir fails to build in xenial

2016-06-15 Thread Alan Griffiths
Looks like the missing "#include " was added in 0.23 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592691 Title: mir fails to build in xenial To manage notifications about this bug go to: https://

[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 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 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 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-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 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 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 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 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-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 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 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 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 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
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 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 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-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 1540731] Re: SocketMessenger::update_session_creds() fails to get client PID, causing "[ FAILED ] PromptSessionClientAPI.client_pid_is_associated_with_session" on kernel 4.4 (but kernel 4.3 works

2016-03-04 Thread Alan Griffiths
https://mir-jenkins.ubuntu.com/job/build-2-binpkg- mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/336/consoleFull 09:55:24 9: [ RUN ] LP.1540731 09:55:24 9: /��BUILDDIR��/mir-0.20.1+16.04.20160225.1+vivid345bzr3362/tests/acceptance-tests/test_prompt_session_client_api.cpp:672:

[Bug 1540731] Re: SocketMessenger::update_session_creds() fails to get client PID, causing "[ FAILED ] PromptSessionClientAPI.client_pid_is_associated_with_session" on kernel 4.4 (but kernel 4.3 works

2016-03-04 Thread Alan Griffiths
Now affecting trusty 3.13.0-79-generic (which is what a lot of CI slaves are running today) ** Changed in: linux (Ubuntu) Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

<    1   2   3   4   5   6   >