[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 Adolfo Jayme changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|libreoffice-b...@lists.free |vasily.melenc...@cib.de |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 Commit Notification changed: What|Removed |Added Whiteboard|bibisectRequest |bibisectRequest ||target:4.5.0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #12 from Commit Notification --- Vasily Melenchuk committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=69a80316f7da33e90e1006624466f52af524f1dc tdf#89141: reverted a workaround for getting activity time It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #11 from cs_...@yahoo.com --- Created attachment 113347 --> https://bugs.documentfoundation.org/attachment.cgi?id=113347&action=edit X protocol trace when the message box does not get the focus This is the X protocol trace when the message box doesn't get the focus. The message box had the window ID 0x04e00628. A couple of lines before the MapWindow request 002:<:1a6e: 8: Request(8): MapWindow window=0x04e00628 there is the _NET_WM_USER_TIME request, which sets the timestamp to zero: 002:<:1a64: 28: Request(18): ChangeProperty mode=Replace(0x00) window=0x04e00628 property=0x147("_NET_WM_USER_TIME") type=0x6("CARDINAL") data=0x; So in this case the window manager has to prevent the window from getting the focus and pushes it in the background. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #10 from cs_...@yahoo.com --- Created attachment 113346 --> https://bugs.documentfoundation.org/attachment.cgi?id=113346&action=edit X protocol trace when the message box gets the focus This is the X protocol trace when the message box correctly gets the focus. The message box had the window ID 0x04e00641. A couple of line before the MapWindow request 002:<:1ad3: 8: Request(8): MapWindow window=0x04e00641 there is the _NET_WM_USER_TIME request, which sets a sensible timestamp: 002:<:1ac9: 28: Request(18): ChangeProperty mode=Replace(0x00) window=0x04e00641 property=0x147("_NET_WM_USER_TIME") type=0x6("CARDINAL") data=0x2a107ceb; So in this case everything is working as expected, and the message box gets the focus. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #9 from cs_...@yahoo.com --- I have tried to isolate the problem using the document that was attached in comment 4 (attachment 113182). It seems the problem lies in LibreOffice (or more precisely probably in the toolkit) and not in the window managers. The window gets pushed in the background by the focus stealing prevention of the window managers, but the window managers work correctly according to the EWMH spec. The problem is, that sometimes LibreOffice sends a _NET_WM_USER_TIME request with a timestamp of zero to the X-server right before mapping the window. And this tells the window manager to NOT give the window focus, when it is mapped. See: http://standards.freedesktop.org/wm-spec/latest/ar01s05.html#idm139870829932528 Especially: "The special value of zero on a newly mapped window can be used to request that the window not be initially focused when it is mapped. " Unfortunately in this case it doesn't help to configure exceptions for the focus stealing prevention as a workaround (neither in compiz nor in kwin), because when deciding if a windwow should get the focus, the _NET_WM_USER_TIME timestamp has a higher priority than the configured exception rules. I have collected X protocol traces of communication between LibreOffice and the X server (using the xtrace tool), which show the problem. I will attach those after this comment. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #8 from Matthew Francis --- Couldn't reproduce this on Ubuntu 14.04 (LXDE), so can't bibisect. Possibly timing or window manager dependent. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 Matthew Francis changed: What|Removed |Added CC||fdb...@neosheffield.co.uk Whiteboard||bibisectRequest -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #7 from Thomas --- Created attachment 113259 --> https://bugs.documentfoundation.org/attachment.cgi?id=113259&action=edit Sreenshot -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #6 from Thomas --- Could confirm the buggy behavior for LO 4.3.5.2 / Ubuntu 14.04 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 Beluga changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||todven...@suomi24.fi Ever confirmed|0 |1 Severity|normal |minor --- Comment #5 from Beluga --- Reproduced with attachment 113152. Warning box appears only after alt-tabbing away and back. Could not reproduce with attachment 113182. opensuse 13.2 64-bit KDE LibO: Version: 4.4.0.3 Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7 Locale: en_US -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #4 from rob...@familiegrosskopf.de --- Created attachment 113182 --> https://bugs.documentfoundation.org/attachment.cgi?id=113182&action=edit Example in Calc - Messagebox appears sometimes in the background of the dialog Here another example from a user, who reported the bug in a German forum. (Reported for LO 4.3.5.2 and Ubuntu 14.04) If the dialog appears klick on one radiobutton. The press "Klick". Sometimes the messagebox appears in the backgrund. Not the same behavior as reported for the first example. There the massagebox never appears in front of the dialog on my system... (OpenSUSE 13.2 64bit rpm and different LO-Versions, including Master 2015-02-05 for LO 4.5.0.0 Alpha0) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #3 from Julien Nabet --- When running macro directly, I've got the messagebox in front of dialog. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 --- Comment #2 from Julien Nabet --- By running the macro directly, I got a dialog and noticed this on console: warn:legacy.osl:4617:1:basctl/source/dlged/propbrw.cxx:442: PropBrw::ImplUpdate: no view, but a document?! warn:legacy.tools:4617:1:vcl/source/window/dialog.cxx:753: Dialog::StartExecuteModal() - Parent already modally disabled, use another parent to ensure modality! -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 Julien Nabet changed: What|Removed |Added CC||serval2...@yahoo.fr --- Comment #1 from Julien Nabet --- On pc Debian x86-64 with master sources updated today, I got no dialog at all. I noticed this on console: warn:legacy.osl:4617:10:scripting/source/dlgprov/dlgevtatt.cxx:521: caught an exception! in function:virtual void dlgprov::DialogSFScriptListenerImpl::firing_impl(const com::sun::star::script::ScriptEvent&, com::sun::star::uno::Any*) type: com.sun.star.script.provider.ScriptFrameworkErrorException message: The following Basic script could not be found: library: 'Standard' module: 'Module1' method: 'DatenSpeichern' location: 'document' -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 89141] Messagebox, initiated by a dialog, appears behind the dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=89141 rob...@familiegrosskopf.de changed: What|Removed |Added Keywords||regression -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs