dogtail-devel [Bug 335546] Dogtail does not handle modality of windows and dialogs



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=335546
 dogtail | Framework | Ver: unspecified


Dave Malcolm changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64869|none                        |commented-on
               Flag|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #4 from Dave Malcolm  2006-05-06 01:30 UTC -------
Thanks - I've reviewed both attachments and attachment 64869 looks better: with
a caveat (see below) - marking it as "commented on".

The precise Steps to Reproduce in the original report don't work for me as the
"Open" dialog is non-modal (this is with gedit 2.12.2 on Fedora Core 5).
However, I am able to reproduce the bug using the "Save As" dialog (which is
modal) - confirming this bug (as NEW)

There's one remaining problem with the patch: if Action.do fails due to
canReceiveEvents failing, you always get a sensitivity error.  The first
attachment had a different kind of exception for this case.  It also doesn't
then block the action from happening, since it's checking for
config.ensureSensitivity, rather than config.modalTrack

So I think this ought to get fixed before this is committed.  Your original
patch had a separate exception subclasses which I think is worth keeping.

I'm wondering what the best way of doing this cleanly is.  It might be worth
having the sensitivity and modal exception subclasses derive from a common base
class, raising this when the action is attempted, and catching it if config
allows - what do you think?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



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