This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-19 12:19:40

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Shrinking window bug in Scratch on 64 bit linux systems

Can any of you squeak hackers help fix a bug in Scratch on 64 bit installations of Ubuntu / Linux?

http://forum.world.st/Shrinking-windows … 33392.html

Check out the exciting video of this glitch here:
http://www.scratch.mit.edu/ext/youtube/ … ;feature=*

It might be caused by something in Scratch, or it might be caused by something in the 64 bit squeak VM - we're not sure. You can test it out by installing Scratch on Ubuntu 12.04 64 bit (now, straight from the repositories!)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#2 2012-07-19 17:54:50

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Well, I can't seem to reproduce the bug..  tongue  Though of course, I downloaded the package and installed it manually. Would that make a difference?

Offline

 

#3 2012-07-19 18:07:01

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Magnie wrote:

Well, I can't seem to reproduce the bug..  tongue  Though of course, I downloaded the package and installed it manually. Would that make a difference?

Thanks for trying!  You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#4 2012-07-19 20:46:33

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Argh, that looks nasty. It reminds me of when I was experimenting with my own Morphic engine and working with windows.  tongue

Does Squeak have any control over the window itself, or just the viewing frame inside the window?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#5 2012-07-20 11:23:59

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Lightnin wrote:

Magnie wrote:

Well, I can't seem to reproduce the bug..  tongue  Though of course, I downloaded the package and installed it manually. Would that make a difference?

Thanks for trying!  You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?

64 Bit Ubuntu 12.04 (Precise) with this package: scratch_1.4.0.1-0ubuntu5_i386.deb (Still have it in my Downloads folder  tongue ). Hope that helps.  smile

Offline

 

#6 2012-07-20 11:29:25

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Magnie wrote:

Lightnin wrote:

Magnie wrote:

Well, I can't seem to reproduce the bug..  tongue  Though of course, I downloaded the package and installed it manually. Would that make a difference?

Thanks for trying!  You're on a 64 bit Ubuntu 12.04, right? Version 1.4.0.6~dfsg1 of the Scratch package?

64 Bit Ubuntu 12.04 (Precise) with this package: scratch_1.4.0.1-0ubuntu5_i386.deb (Still have it in my Downloads folder  tongue ). Hope that helps.  smile

Ah, that's ye olde package - outdated! (Although, on this platform, it actually works a little better. But it's problematic for many users because you have to force the install.)

Can you try it with the newer package, from the repositories?
http://ubuntu.media.mit.edu/ubuntu//poo … .1_all.deb


Hardmath123 wrote:

Argh, that looks nasty. It reminds me of when I was experimenting with my own Morphic engine and working with windows.  tongue

Does Squeak have any control over the window itself, or just the viewing frame inside the window?

It looks nasty cause it is!  smile  I'd love to see it squashed.
I'm not much of a squeaker at all, but from what I understand you can control window size / handle resize events from within squeak programs.

Last edited by Lightnin (2012-07-20 11:31:08)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#7 2012-07-24 13:55:59

Jackieee
New Scratcher
Registered: 2012-07-05
Posts: 100+

Re: Shrinking window bug in Scratch on 64 bit linux systems

I'm not able to reproduce this on Lubuntu 12.04 with Scratch 1.4.0.6~dfsg1-1~ubuntu12.04.1. The window does flash black while I'm resizing it, but works fine once I let go.

Offline

 

#8 2012-07-24 13:59:16

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Jackieee wrote:

I'm not able to reproduce this on Lubuntu 12.04 with Scratch 1.4.0.6~dfsg1-1~ubuntu12.04.1. The window does flash black while I'm resizing it, but works fine once I let go.

Thanks for trying! We've just recently isolated the problem to Ubuntu's 3d (unity) system. When running in 2d mode, as I suspect Lubuntu does by default, the bug doesn't happen. So installing on a 64 bit system doesn't appear to be a causal factor - we've since seen it happen on 32 bit installations of Ubuntu.

If you find out more about this bug, please comment here!

https://bugs.launchpad.net/ubuntu/+source/scratch/+bug/1028562


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#9 2012-07-26 14:14:07

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Just another update- this looks to be caused by an issue with compiz. So, no need to dive deeply into this, unless you want to try to help isolate it!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#10 2012-07-26 14:23:25

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

confirmed...

edit:
already noticed that you cannot even open files  yikes
*apt-uninstalling and downloading good old manual deb file*
http://i.imgur.com/Jdxnh.png

Last edited by roijac (2012-07-26 14:32:44)

Offline

 

#11 2012-07-27 13:13:51

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

bump?

Offline

 

#12 2012-07-28 11:48:10

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: Shrinking window bug in Scratch on 64 bit linux systems

I think this belongs in  bugs and glitches  tongue


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&action=onlineStatus&type=square

Offline

 

#13 2012-07-28 12:51:39

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

stickdude123 wrote:

I think this belongs in  bugs and glitches  tongue

actually no.  The Scratch team often employs the AT to try to help fix some glitches when they are otherwise occupied (*cough*2.0*cough*)
Anyway, I doubt Lightnin would knowingly put his topic in the wrong section.  tongue


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#14 2012-07-29 04:26:01

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

it works fine for me however when i maximise the window it just goes black


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#15 2012-08-16 00:22:39

theamazingblob
Scratcher
Registered: 2011-11-19
Posts: 45

Re: Shrinking window bug in Scratch on 64 bit linux systems

I have this same problem, but I'm using Ubuntu 32-bit, not 64-bit.... Hope it's fixed by 2.0

Offline

 

#16 2012-09-02 18:13:35

SanGis
New Scratcher
Registered: 2012-09-02
Posts: 1

Re: Shrinking window bug in Scratch on 64 bit linux systems

Removing -xshm from the squeak VM launch options is a workaround that have been found here:

https://lists.launchpad.net/scratch/msg00359.html
or
http://forum.world.st/Shrinking-windows-when-Scratch-is-run-on-4-4-7-2357-VM-Ubuntu-12-04-64bit-td4633392.html

I did this by editing the file /usr/bin/scratch and removing -xshm from the line:
VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:$SQ_DIR/"
(I have Scratch installed from repositories)

Apperently this bug is due to some issue between X and Compiz, so if you do not use Unity 3D then you don't see this bug.

Just thought I would spread the knowledge, making it easier to find for the next seeker.

Regards
SanGis

Offline

 

#17 2012-09-03 21:37:16

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Shrinking window bug in Scratch on 64 bit linux systems

SanGis wrote:

Removing -xshm from the squeak VM launch options is a workaround that have been found here:

https://lists.launchpad.net/scratch/msg00359.html
or
http://forum.world.st/Shrinking-windows-when-Scratch-is-run-on-4-4-7-2357-VM-Ubuntu-12-04-64bit-td4633392.html

I did this by editing the file /usr/bin/scratch and removing -xshm from the line:
VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:$SQ_DIR/"
(I have Scratch installed from repositories)

Apperently this bug is due to some issue between X and Compiz, so if you do not use Unity 3D then you don't see this bug.

Just thought I would spread the knowledge, making it easier to find for the next seeker.

Regards
SanGis

Nice!


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#18 2012-10-25 18:03:09

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Not just 64bit either... Shrinking and strobing just like the video on a 32bit system. I'll try 2d mode, brb

edit: No shrinking under 2d. Huh. I'll try the workaround.

eddetit: grr permissions problem

Last edited by scratchisthebest (2012-10-25 18:22:13)


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

#19 2012-10-26 23:02:32

laser314
Scratcher
Registered: 2010-07-16
Posts: 100+

Re: Shrinking window bug in Scratch on 64 bit linux systems

Does this have anything to do with the bug where when you go out of presentation mode the program crashes? I'm on Fedora 17, 64-bit.


http://alpha.scratch.mit.edu/scratchr2/static//images/logo_sm.png 2.0 Alpha Tester!http://i49.tinypic.com/1zckcqb.png

Offline

 

#20 2013-04-22 13:58:45

hstenzel
New Scratcher
Registered: 2012-10-05
Posts: 2

Re: Shrinking window bug in Scratch on 64 bit linux systems

There's a partial fix/workaround over on http://scratch.mit.edu/forums/viewtopic … 9#p1549099

Offline

 

Board footer