bugGNUstep - Bugs: bug #53061, Alert sheets do not disappear when...

Group
 
 

bug #53061: Alert sheets do not disappear when dismissed

Submitter:  Graham Lee <leeg>
Submitted:  Sun 04 Feb 2018 03:52:58 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Feb 2018 10:46:14 PM UTC, comment #3: 

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

matt rice <ratmice>
Group Member
Sun 04 Feb 2018 10:37:32 PM UTC, comment #2: 

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.

Graham Lee <leeg>
Sun 04 Feb 2018 08:20:33 PM UTC, 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

Fred Kiefer <FredKiefer>
Group Member
Sun 04 Feb 2018 03:52:58 PM UTC, original submission:  

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.

Graham Lee <leeg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by leeg (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-05 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2018-02-04 FredKiefer StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code