Flash template does not work (needs GTK+ 2)

Bug #1007086 reported by Michael Terry
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly
Fix Released
Undecided
Unassigned
quickly (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

The flash template shipped with quickly 12.04 does not work, because it uses GTK+ 3. Which doesn't work with GTK+ 2.

Also, you can't run 'package' in it because the code got broken during the 12.04 cycle but was not noticed.

While this isn't a popular template, it is shipped among the official set and should at least work. It is often recommended as a way to get an existing flash game to work quickly.

[Test Case]

cd /tmp
# download attached flash file 'game.swf'
quickly create ubuntu-flash-game ubuflash /path/to/game.swf
# Notice whether opened window contains a working flash game
# Close the window
cd ubuflash
quickly package
# Confirm that it built correctly

[Regression Potential]

The fix only affects the flash template. Since it didn't work at all in 12.04, regression potential seems low.

Michael Terry (mterry)
Changed in quickly:
status: New → Fix Committed
Michael Terry (mterry)
Changed in quickly:
milestone: none → 12.05
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quickly - 12.05-0ubuntu1

---------------
quickly (12.05-0ubuntu1) quantal; urgency=low

  * New upstream release
    - Fix ubuntu-flash-game backend to work (LP: #1007086)
    - For ubuntu-cli and ubuntu-flash-game, don't keep warning about
      upgrading the project to use PyGI, even on fresh projects
      (LP: #1007006)
    - Fix 'package --extras' and 'submitubuntu' to create packages suitable
      for the ARB process again (LP: #1003818, LP: #998910, LP: #1002417)
 -- Michael Terry <email address hidden> Thu, 31 May 2012 15:25:44 -0400

Changed in quickly (Ubuntu):
status: New → Fix Released
Michael Terry (mterry)
Changed in quickly:
status: Fix Committed → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted quickly into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in quickly (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
David Planella (dpm) wrote :

I've verified the fix to work:

- The game runs as expected on the source tree with 'quickly run'
- The game is correctly packaged with 'quickly package'
- The game runs well when installed

However, I've noticed that 'quickly package --extras' does not work: the files are installed in the regular /usr/share locations. There is also a warning shown when running the app (*)

I'll file a follow-up bug for that, as it was not part of the original bug.

(*)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:47: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)
No bp log location saved, using default.
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
[000:001] No bp log location saved, using default.
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit

tags: added: verification-done
removed: verification-needed
Revision history for this message
David Planella (dpm) wrote :

Follow-up bug 1009660

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quickly - 12.04-0ubuntu2

---------------
quickly (12.04-0ubuntu2) precise-proposed; urgency=low

  * debian/patches/fix-extras.patch:
    - Fix 'package --extras' and 'submitubuntu' to create packages suitable
      for the ARB process again (LP: #1003818, LP: #998910, LP: #1002417)
  * debian/patches/no-warn-on-fresh-cli.patch:
    - For ubuntu-cli and ubuntu-flash-game, don't keep warning about
      upgrading the project to use PyGI, even on fresh projects
      (LP: #1007006)
  * debian/patches/fix-flash-template.patch:
    - Fix flash game template to still use gtk2, as flash requires that
      (LP: #1007086)
  * debian/control:
    - Depend on webkit-1.0 and gtk-2.0 for above flash change
 -- Michael Terry <email address hidden> Thu, 31 May 2012 16:35:33 -0400

Changed in quickly (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.