Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#293 closed defect (fixed)

Activity does not close when closing activity from frame because of NamingAlert

Reported by: erikos Owned by: erikos
Priority: Immediate Milestone:
Component: Sugar on a Stick (SoaS) Version: 0.83.x
Severity: Blocker Keywords:
Cc: tomeu Distribution/OS: Unspecified
Bug Status: Assigned

Description (last modified by erikos)

It is confusing because one does not see the alert. Simply resuming the activity window in this case does work well.

diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py
index d2ba278..5f15876 100644
--- a/src/sugar/activity/activity.py
+++ b/src/sugar/activity/activity.py
@@ -978,6 +978,7 @@ class Activity(Window, gtk.Container):
             title_alert = NamingAlert(self, get_bundle_path())
             title_alert.set_transient_for(self.get_toplevel())
             title_alert.show()
+            self.present()
 
     def __realize_cb(self, window):
         wm.set_bundle_id(window.window, self.get_bundle_id())

Change History (7)

comment:1 Changed 15 years ago by erikos

  • Bug Status changed from Unconfimed to Assigned

comment:2 Changed 15 years ago by erikos

  • Description modified (diff)

comment:3 Changed 15 years ago by tomeu

Yeah, I think it makes sense.

comment:4 Changed 15 years ago by erikos

Pushed to sugar-toolkit master

Thanks for the quick reply.

comment:5 Changed 15 years ago by marcopg

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 14 years ago by sascha_silbe

  • Component changed from sugar to SoaS
  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

comment:7 Changed 11 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.