[Xfce-bugs] [XFCE 0000273]: Issues with gtranslator

xfce-bugs at xfce.org xfce-bugs at xfce.org
Thu Aug 5 01:00:08 CEST 2004


The following bug has been RESOLVED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000273
=======================================================================
Reporter:                   papermoon
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000273
Category:                   xfwm
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
=======================================================================
Date Submitted:             2004-07-25 08:31 GMT
Last Modified:              2004-08-04 23:00 GMT
=======================================================================
Summary:                    Issues with gtranslator
Description: 
Using current CVS head, when I open gtranslator (version 1.0.2) with an
existing po-file, it opens a dialog window where I can edit the header of
the po file. This dialog window is opened behind the root window and not
in the foreground as it should.
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-08-04 08:09 GMT 
-----------------------------------------------------------------------
Are you sure you are running an up-to-date version? CVS HEAD doesn't show
such an issue with gtranslator.

-----------------------------------------------------------------------
 papermoon - 2004-08-04 16:37 GMT 
-----------------------------------------------------------------------
Yes, I did a fresh checkout today and xfwm4 --version has

[andre at medusa po]$ xfwm4 --version
        This is xfwm4 version 4.1.4 for Xfce 4.1.0
        built with GTK+-2.4.1, linked with GTK+-2.4.1.

The problem persists.

-----------------------------------------------------------------------
 olivier - 2004-08-04 16:44 GMT 
-----------------------------------------------------------------------
Sorry, maybe I misunderstood, you mean that the window is open behind the
main window *and* you can't raise it above, or simply that the "edit
header" window is opened behind but can be raised normally?

If it's the later, that's no bug, as the main window is shown afterwards
so it's mapped above and focused, that's not a bug with xfwm4 (in fact,
it's a feature in xfwm4 because many apps make wrong use of transients)

-----------------------------------------------------------------------
 papermoon - 2004-08-04 19:26 GMT 
-----------------------------------------------------------------------
Yes, I meant the latter. If it's no xfwm4 bug, I'll ask the gtranslator
developer to change it, cause it's really annoying. Thanks anyway.

-----------------------------------------------------------------------
 olivier - 2004-08-04 22:59 GMT 
-----------------------------------------------------------------------
The problem comes from gtranslator that maps a modal dialog before the
window for what it's modal. xfwm4 checks for such a case and ignores the
modality in that case.

Another problem is that, since the dialog is mapped before the main
window, the transient field is updated afterwards. That was not supported
in xfwm4 because that could cause some trouble if a window specifies
another window that has already a transient relatioship, like e.g.:

A transient for B transient for C transient for A

I've added support for TRANSIENT_FOR field updates and tried to check for
the above case. That works with gtranslator, but I still think that what
granslator has some opportunity for improvement here.

-----------------------------------------------------------------------
 olivier - 2004-08-04 23:00 GMT 
-----------------------------------------------------------------------
Resolving the bug now, is works as well as it can (ie w/out changing
gtranslator) with CVS code.



More information about the Xfce-bugs mailing list