Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox - new version, Drag and Drop temporary workaround #852

Open
rosera opened this issue Nov 20, 2016 · 9 comments
Open

Firefox - new version, Drag and Drop temporary workaround #852

rosera opened this issue Nov 20, 2016 · 9 comments

Comments

@rosera
Copy link

rosera commented Nov 20, 2016

It looks like the new version of Firefox (v50) breaks Pencil again. Tried the common workaround of amending the application.ini, but this did not do the trick.

I use Pencil on Ubuntu, so I have rollback the Firefox version and placed a hold on any Firefox package upgrades while this issue is either resolved or I find an alternative wire framing tool to use. Not ideal, but I can at continue with my work.

Temporary fix for Ubuntu users

  1. Remove the incompatible version of Firefox.

sudo apt purge firefox

  1. Download a compatible version firefox builds e.g.

wget sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_49.0.2-0ubuntu1_amd64.deb

  1. Install the Firefox version downloaded

sudo dpkg -i firefox-mozilla-build_49.0.2-0ubuntu1_amd64.deb

  1. Check the installation version

firefox --version

To resolve issues, ensure the version displayed is less than the MaxVersion attribute held in the file /usr/share/pencil-prototyping/application.ini i.e.

[Gecko]
MaxVersion = 51.*

Optional steps

At this point you should be able to temporarily run Pencil once more

To stop upgrades affecting your firefox application, issue the following command:

sudo apt-mark hold firefox

When you are able to upgrade, remove the hold

sudo apt-mark unhold firefox

@prikhi
Copy link
Owner

prikhi commented Nov 20, 2016

Did v49 fix the drag-and-drop issue?

@rosera
Copy link
Author

rosera commented Nov 20, 2016

v49 works for me on Ubuntu 16.04 after the applying the application.ini/properties.sh amendment. FYI - I am using the code revision 2.0.18 downloaded from Github.

Still investigating what the actual issue with drag and drop relates to.

@alxlo
Copy link

alxlo commented Nov 28, 2016

thx for this hint. I would never (ever) have made the connection between the failing drag function and the firefox update ^^

@BranLiang
Copy link

Thanks rosera,
This method works for me. Linux 16.04

@prikhi
Copy link
Owner

prikhi commented Nov 29, 2016

Does 2.0.21 not work?

@ghost
Copy link

ghost commented Dec 5, 2016

I am with the same problem. I'm using Firefox 50.0.2 and Pencil 2.0.5.

@prikhi
Copy link
Owner

prikhi commented Dec 5, 2016

@giancarloandroid First release of this repository was v2.0.6. You should checkout the standalone version on this repo's Releases page, or http://github.com/evolus/pencil for v3.

@ghost
Copy link

ghost commented Dec 15, 2016

Hello

Sorry @prikhi, I tried but downloading pencil-prototyping-2.0.21-ubuntu-all.deb from the Releases Page does not seem to do any better.

I'd suggest another workaround than the original. This one leaves Firefox untouched so that you can keep up with improvements and security patches.

Download an old XUL runtime http://ftp.mozilla.org/pub/xulrunner/releases/41.0.2/runtimes/
(eg xulrunner-41.0.2.en-US.linux-x86_64.tar.bz2 on my 64 bits OS)

With root privilege

$ sudo mkdir -p /opt
$ sudo  tar -jxvf xulrunner-41.0.2.en-US.linux-x86_64.tar.bz2  -C /opt
$ sudo ln -s /opt/xulrunner/xulrunner /usr/bin/

Without root privilege

Extract the tarball somewhere in your home folder.
Create a soft link from ~/bin/xulrunner to the file xulrunner in the extracted folder
Make sure you have ~/bin in your PATH.

Then...

Then simply restart Pencil. Et voilà

@bhushanjawle
Copy link

Thanks @rosera. Rolled back to firefox 49.0.2. Saved my day !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants