[bug #53061] Alert sheets do not disappear when dismissed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #53061] Alert sheets do not disappear when dismissed

dsdsdsds
URL:
  <http://savannah.gnu.org/bugs/?53061>

                 Summary: Alert sheets do not disappear when dismissed
                 Project: GNUstep
            Submitted by: leeg
            Submitted on: Sun 04 Feb 2018 03:52:58 PM UTC
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Here is a minimal reproducer project: https://github.com/iamleeg/sheet-bug

The app delegate begins an alert sheet on the main window, and handles the
dismiss message. However, when the alert sheet is dismissed, it doesn't
disappear; rather it is drawn in the bottom-left corner of the screen.

I'm using gnustep libs-gui from master on github on Fedora Core 27.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #53061] Alert sheets do not disappear when dismissed

dsdsdsds
Update of bug #53061 (project gnustep):

                  Status:                    None => Ready For Test        
             Assigned to:                    None => FredKiefer            
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #1:

I could not directly reproduce the issue with your code. When clicking on a
button in the sheet the sheet first got moved to the left lower corner, just
as you described but for me it was immediately removed from the screen after
that.

What I did is to move the call that closes the sheet before the code that code
that disconnects it from its parent window. Form me now the sheet disappears
at once. I hope that this also resolves your issue. Please report back on
this.

Fred

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #53061] Alert sheets do not disappear when dismissed

dsdsdsds
Follow-up Comment #2, bug #53061 (project gnustep):

Thank you Fred, I can confirm that this fixes the problem. I don't know why
the two of us saw different behaviour, but sheets now work for me.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #53061] Alert sheets do not disappear when dismissed

dsdsdsds
Update of bug #53061 (project gnustep):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                 In Test => Closed                


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #53061] Alert sheets do not disappear when dismissed

dsdsdsds
Follow-up Comment #3, bug #53061 (project gnustep):

Just for the record, this also sounds very similar to the behavior that used
to happen which precipitated the old 2003-11-26 commit below, the comment
there, "If the backend reacts slowly", might explain the difference in
observed behavior.

https://github.com/gnustep/libs-gui/commit/720ddc11b5e7a2b8f079505451a3ed0fb7a14fe7

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep