pencil icon indicating copy to clipboard operation
pencil copied to clipboard

not all text is visible when reopening a saved *.ep file

Open prikhi opened this issue 9 years ago • 47 comments

From [email protected] on November 07, 2013 23:25:18

What steps will reproduce the problem? 1. Open a new project. 2. Use 'Desktop Native UI Widgets' Label, Buttons and Group edit their text (heading for Group). 3. Save file. 4. Reopen saved *.ep file.

Expected: All saved texts, shapes should be visible as when saved.

Actual: Most saved text does not show up. Double clicking that shape/ label/ group to edit, will show the saved text and then clicking elsewhere on the sheet enables the visibility of that particular text for the rest of the session

Pencil Version 2.0.5

Windows 7 Professional SP1 64-bit ON Dell Vostro Intel Core i3

Have been using Pencil for a week and this is a consistent error

Original issue: http://code.google.com/p/evoluspencil/issues/detail?id=602

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on November 12, 2013 14:37:44

I have similar issue in my in Pencil installation. Description of the problem and the version of the software are exactly same as the issue reported by rajwinde. Does any one have a solution for this.

Thanks and regards, Subbu

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on November 13, 2013 03:41:56

We have the same error, there is no button for "redraw" and it is very unpleasant. It would be convenient see a three of the components that are in the paint.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on December 05, 2013 11:24:23

I have the same issue reported here, I am using Ubuntu and Pencil 2.0.5. What I have to do to make them appear is right click and toggle "disabled", it is easier than trying to click and edit some text for it to render again. It is really annoying because it happens with the radio buttons too, the text is simply gone and its every time I open an .ep file. This seems to be related to issue #548

Attachment: Screenshot from 2013-12-05 11:11:32.png Screenshot from 2013-12-05 11:13:26.png

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on December 08, 2013 23:53:13

With Pencil 2.0.3 there is no problem

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on December 14, 2013 13:32:42

Thanks for hte tip. I have the same issue with 2.0.3 using the default xulrunner. The fix I used for 2.0.3 (not sure it works for 2.0.5) is to point Pencil to a different xulrunner (something greater than xulrunner 1.9.8) , I chose xulrunner 2.0.0 from here: https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/ then modified the /usr/bin/pencil script to look like this:

#!/bin/sh #/usr/bin/firefox --app "/usr/share/pencil/application.ini"

/home/installed/xulrunner/2.0.0/xulrunner --app "/usr/share/pencil/application.ini"

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on January 07, 2014 09:00:01

When the "Disable" menu is unavailable another way to make the text visible again is to:

  1. Select All
  2. Right click and open Properties
  3. Select the Black color and make sure the Opacity is set to 100%.
  4. Apply

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on January 15, 2014 04:50:38

Rolling back to Pencil 2.0.3 from 2.0.5, resolved this issue for me on Windows 7.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on April 02, 2014 08:21:40

Back to 2.0.3 ...

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on May 22, 2014 01:49:26

Back to 2.0.3. I think it is a high issue not a medium.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on June 25, 2014 02:52:17

Back to 2.0.3. helped me as well (Windows 7)

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on June 27, 2014 02:23:12

I did what was suggested here by [email protected], it makes the text visible at Pencil, but it prints everything blank, I rolled back to 2.0.3, the text is visible as described, but it still prints blank (I don't know if file formats have changed from 2.0.3 to 2.0.5 so I've created a new document at 2.0.3 added a few "Desktop - Native UI Widgets" these print blank and added "Flowchart" elements these print fine).

Finally I had to "Export page as PNG", and printed from there.

prikhi avatar Mar 13 '15 20:03 prikhi

From malvineous on July 15, 2014 21:46:42

FYI this is a duplicate of issue #579

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on August 08, 2014 00:56:47

Same situation here. Rolling back to 2.0.3 on MacOSX Mavericks did not solve the problem. Same thing happens when I open the files with the Firefox plugin. As a workaround, I installed Pencil 2.0.3 on Win XP virtual machine and I can see all widgets correctly.

It's funny, because if I resize a widget it becomes visible, but when I undo the resize operation, again it "magically disappears".

This indeed should have a high priority. I have some mockups with dozens of widgets and resizing them all separately is really impossible.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on September 19, 2014 22:13:00

I Had the same issue too but to quick fix you may select all object by selecting CTRL + A then change the font for example arial. But you must change each page one by one.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on November 27, 2014 23:32:13

Issue resolved by following the technique specified by #15 [email protected]. Many Thanks to him. But its not permanent solution. Bug fixes are required in ver. 2.0.5

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on November 28, 2014 00:33:25

Another solution : don't use the "Label" element from "Desktop - Native UI Widgets".

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on December 13, 2014 22:02:00

Same problem here with 2.0.5 and native desktop widgets. Going back to 2.0.3 did not fix the problem.

Another workaround - select all items on the page and then use "Location & size" to move them one pixel to the left and then one pixel to the right. After you unselect the items, they are redrawn and look OK.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on January 15, 2015 19:07:31

Same problem on osx 10.10.1 - Cant downgrade to 2.0.3 cause it crashes. It also happens when i copy and paste a group of elements from one page to another.

prikhi avatar Mar 13 '15 20:03 prikhi

From [email protected] on March 09, 2015 06:46:21

As mentioned in one of the comments above as well follow the following steps

when you will open a .ep file in Pencil

  1. Click any control within designer area (windows form, group box, text control)
  2. Press CTRL + A (select all)
  3. Right click and Go to properties
  4. You will get Multiple objects properties window
  5. Select check box colour above check box Advance mode is colour picker is disabled
  6. Select black colour and set opacity 100% (slider control is there)

All the texts will be visible (y)

prikhi avatar Mar 13 '15 20:03 prikhi

Going through previous issues, it looks like this only affects the Native UI Stencil Collection & is fixed by reverting to 2.0.3. Maybe diffing HEAD against v2.0.3 will show the issue.

prikhi avatar Mar 15 '15 00:03 prikhi

Backgrounds, shapes & labels are messed up in exports until the Page's tab is selected as well.

prikhi avatar Mar 24 '15 21:03 prikhi

Many hours have been sunk into this - no resolution yet.

I've been looking at how Pencil loads the initial document - but it might be a problem with the stencils themselves instead.

prikhi avatar Mar 28 '15 08:03 prikhi

Poked at this some more... doesn't seem like a notable difference between the Stencil Definitions of the working Sketchy Labels & the broken Native Labels.

I poked around at the Shape prototype for a little & will probably pick up my investigation there.

On the plus side, I'm learning tons about the codebase as I slowly comb through everything to figure this out...

prikhi avatar Apr 13 '15 08:04 prikhi

Hi all, I am not a real developer but if I can help to investigate just let me know. I was thinking of running a diff between 2.0.3 and 2.0.5 but it seems this has already been done? Also how can I download easily the source code for these versions?

amarach78 avatar May 11 '15 13:05 amarach78

@amarach78 You can grab the old source from the google code project page: https://code.google.com/p/evoluspencil/downloads/list

The fact that I didn't find anything in the diff might mean that some change in the xulrunner/firefox framework caused this issue instead of some code in this repo. Or maybe I just missed something.

prikhi avatar May 30 '15 02:05 prikhi

Instead of looking through whole changeset run git bisect to locate faulty commit.

Uriziel avatar Jun 01 '15 09:06 Uriziel

Hi all, maybe for some this is no new info but I can confirm now that the issue is with xulrunner. I replaced the xulrunner-directory in 2.0.11 with the xulrunner-directory in 2.0.3. I also had to change the application.ini (see below) so that pencil would start and not give an error on incompatible version. After that I opened the .ep file and it showed all text. On the other hand when I exported to pdf it did not show all text but this seemed to be also an issue with 2.0.3.

Change to application.ini to start 2.0.11 with xulrunner from 2.0.3: from: [Gecko] MinVersion=36.0 MaxVersion=38.* to: [Gecko] MinVersion=15.0 MaxVersion=38.*

amarach78 avatar Jun 10 '15 06:06 amarach78

That's great, thanks. The next step is to figure out the version of xulrunner that broke the native stencils so we can look at the release notes for that version & figure out what changed and broke the stencils.

I might be able to get to that in the next few days(unless you're interested in taking it on).

prikhi avatar Jun 10 '15 12:06 prikhi

xulrunner 16.0.2 is still OK (reopening shows all text) xulrunner 17.0 is NOT OK

amarach78 avatar Jun 11 '15 09:06 amarach78

Thanks, I'll checkout the update notes for xul 17 and try poking around again.

prikhi avatar Jun 15 '15 21:06 prikhi