Re: Funy focus behavior with OOo-1.1

On Thu, 2003-10-16 at 17:49, Havoc Pennington wrote:
> On Thu, 2003-10-16 at 12:02, Fabio Gomes de Souza wrote:
> > So it's an OOo bug?
> Yeah. A dialog is a thing that opens briefly and asks a question and
> then you close it. i.e. dialogs with the user.
> The persistent "toolbox" or "palette" window should be type UTILITY.

	Ok - so I dug at this for a few moments and added this patch to our
'ooo-build' build / patch set:

--- vcl/unx/source/app/wmadaptor.cxx.old	2003-10-23 14:59:18.000000000
+++ vcl/unx/source/app/wmadaptor.cxx	2003-10-23 14:59:22.000000000 +0100
@@ -1399,13 +1399,8 @@
         switch( eType )
             case windowType_Utility:
-#if 0
-                // advertise tool windows as dialogues not utilities
for now
-                // due to a bug in metacity 2.4.34 (smaller titlebar
font on
-                // resizable utility windows)
                 eWMType = m_aWMAtoms[ NET_WM_WINDOW_TYPE_UTILITY ] ?
             case windowType_ModelessDialogue:
             case windowType_ModalDialogue:
                 eWMType = NET_WM_WINDOW_TYPE_DIALOG;

	Which looked hopeful, unfortunately it seems not to fix the bug (for me
at least); also, presumably there is some way to make this conditional
on metacity version somehow ? [ using 2.4.55 ].

	OTOH - it's entirely possible that OO.o is doing some bogus raising
action, I understand the top-level window stuff is a nightmare; perhaps
Philipp knows more ? [ the problem is switching app using the task-list
focuses the utility and not the toplevel window ].



 michael ximian com  <><, Pseudo Engineer, itinerant idiot

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]