To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93366
                 Issue #|93366
                 Summary|fpicker: more efficient to run the gtk (like macosx) f
                        |picker in the normal thread
               Component|gsl
                 Version|DEV300m30
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|cmc
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Tue Sep  2 08:35:11 +0000 
2008 -------
The windows system fpicker was the first one, and in sfx2 it gets run in a
thread (for some reason or other).

The macosx one is ifdefed to get run in the current thread instead because of
drawing issues.

The gtk one ties itself in complete knots to launch the system dialog back in
the "main thread" because gnome-vfs2 backed dialogs need to have the gnome-vfs2
stuff run in the same thread as where gnome-vfs2 was initialized in ucb so as to
be reliable (though the new gio backed one seems to not need this)

Seeing as there are only three system fpicker implementations, windows, macosx
and gtk. It seems best to just special-case the windows one in sfx2 to get its
own thread, and let the other ones just get executed "naturally". 

It's way easier for any future fpickers to decide themselves in their own
implementations to run their system dialog in a custom thread than it is to get
themselves run in the primordial thread after-the-fact.

The plus side for the gtk fpicker is that the 100% cpu behaviour seen in 3.0.0
when it is open goes away.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to