The bamf code is a bit hairy, but basically it is synchronously calling XGetWindowProperty here, so I doubt that it's getting it wrong. Looks like a libreoffice issue...
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1064962 Title: Global menubar items do not work when opening a document directly from nautilus with no LibreOffice instance running Status in BAMF Application Matching Framework: Confirmed Status in The Application Menu: Confirmed Status in “bamf” package in Ubuntu: Confirmed Status in “indicator-appmenu” package in Ubuntu: Confirmed Status in “libreoffice” package in Ubuntu: Invalid Status in “bamf” source package in Quantal: Confirmed Status in “indicator-appmenu” source package in Quantal: Confirmed Status in “libreoffice” source package in Quantal: Invalid Bug description: 1) Have no instance of LibreOffice running 2) open a document by double-clicking it in nautilus 3) new window has no menu 4) unfocusing/refocusing (e.g. by pressing F7 to bring up the spelling dialog) makes the menu appear WORKAROUND: minimize and restore the LibreOffice window ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: libreoffice-gtk 1:3.6.2~rc2-0ubuntu3 ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5 Uname: Linux 3.5.0-17-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.6.1-0ubuntu2 Architecture: amd64 Date: Wed Oct 10 11:48:20 2012 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) SourcePackage: libreoffice UpgradeStatus: Upgraded to quantal on 2012-09-30 (9 days ago) original description: In writer, none of the menubar items appear to work. Example: * Open new document in Writer * Type some text and highlight it * Try Edit->Cut >> Nothing happens * Try Format->Change chase->UPPERCASE >> Nothing happens! workaround: restart your session after update To manage notifications about this bug go to: https://bugs.launchpad.net/bamf/+bug/1064962/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp