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

#1 2012-10-03 09:53:35

brosskgm
New Scratcher
Registered: 2012-10-02
Posts: 8

Resize collapses into nothing.

Odd error. Ubuntu 12.04 3.0 x64 4gig ram

When I tried to resize the window to increase the work area as shown in a walk through, once you release the mouse it collapses into it self. Everything you did is gone. If you try to open it back up it collapses in to it self again.

I had to restart my system to be able to work with it again. If needed I can try and record a video of it.

I have never seen a program do this before.

Offline

 

#2 2012-10-03 09:56:36

brosskgm
New Scratcher
Registered: 2012-10-02
Posts: 8

Re: Resize collapses into nothing.

Title is suppose to read Collapses into nothing.

Offline

 

#3 2012-10-03 10:10:17

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Resize collapses into nothing.

brosskgm wrote:

Title is suppose to read Collapses into nothing.

If you want the title changed, you should report the first post and say so. Anyway, I reported it for you.

As for the question, sorry, I can't help you.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#4 2012-10-03 10:24:38

brosskgm
New Scratcher
Registered: 2012-10-02
Posts: 8

Re: Resize collapses into nothing.

OK Thanks.

Offline

 

#5 2012-10-03 17:50:44

Ludburghmdm
Scratcher
Registered: 2010-04-02
Posts: 100+

Re: Resize collapses into nothing.

OH MY GOD FINALLY, A PERSON WITH THE SAME SYSTEM AS MINE!!!!  big_smile

As for the "Resizing bug" You'll have to use Unity 2D, to do that, Log Out, Beside your username there should be the Ubuntu logo, Click on it and select "Ubuntu 2D" It fixes the "shrinking" reside bug, but you can't go in fullscreen, I don't know why  sad  Presentation mode works, Sound works (but choppy), Everything else works, just NOT making it fullscreen. I hope I helped!


https://dl.dropbox.com/u/59329517/SmallerLogo.png
Please re-post this if you are against bullying.

Offline

 

#6 2012-10-04 06:37:04

brosskgm
New Scratcher
Registered: 2012-10-02
Posts: 8

Re: Resize collapses into nothing.

I guess there is not many that use Linux-Ubuntu. I only started using Scratch a couple days ago and it did that to me the first day.

There is talk of 2.0. Maybe it will fix that.

Offline

 

#7 2012-10-04 09:38:12

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Resize collapses into nothing.

If you could, use a Mac or Windows computer.

Yes, Scratch 2.0 will be online so that should probably be fixed.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#8 2012-10-09 11:55:50

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

Re: Resize collapses into nothing.

this bug is compiz-related and known

Offline

 

#9 2012-10-09 17:18:01

Ludburghmdm
Scratcher
Registered: 2010-04-02
Posts: 100+

Re: Resize collapses into nothing.

I FOUND A FIX!! (Or at least it works for me)

Use this script to run Scratch:

Code:

#!/bin/sh
# File:            scratch
# Description:     Script to start the Squeak VM binary with the scratch image
# Original Author: Bert Freudenberg
# Adapted by:      Miriam Ruiz
# LUDBURGHMDM WAS HERE, AND HE EDITED IT
VM_VERSION=`find /usr/lib/squeak/ -name "squeakvm" -type f|cut -f5 -d"/"`
SQ_DIR=/usr/lib/squeak/$VM_VERSION
VM="$SQ_DIR/squeakvm"
VMOPTIONS="-encoding UTF-8 -vm-display-x11 -plugins /usr/lib/scratch/plugins/:$SQ_DIR/"
IMAGE="/usr/share/scratch/Scratch.image"
IMOPTIONS=""
DOCUMENT=""
WRAPPER=""

#set to 1 to work around OLPC bug #8008
export SQUEAK_FAKEBIGCURSOR=0

# default directories (used if not running as Sugar activity)
[ -z "$SQUEAK_SECUREDIR" ] && export SQUEAK_SECUREDIR="$HOME/.scratch/private"
[ -z "$SQUEAK_USERDIR" ] && export SQUEAK_USERDIR="$HOME/Scratch"

[ ! -d "$SQUEAK_SECUREDIR" ] && mkdir -p "$SQUEAK_SECUREDIR" && chmod 700 "$SQUEAK_SECUREDIR"
[ ! -d "$SQUEAK_USERDIR" ] && mkdir -p "$SQUEAK_USERDIR"

usage()
{
    echo "Usage: scratch [--param value] [-vmopt value] [arg value]"
    echo "       where --param is --vm, --image, or --document;"
    echo "       -vmopt is an option passed to the Squeak VM;"
    echo "       and args are passed to the Squeak image."
}

if [ $# -eq 1 ] ; then
    case "$1" in
        /*) DOCUMENT="$1"
        ;;
        *) DOCUMENT="$PWD/$1"
        ;;
    esac
    shift
else
    while [ -n "$1" ] ; do
    if [ -z "$2" ] ; then
            usage
        exit -1
    fi
    case "$1" in
            --help)
            usage
             exit
            ;;
            --document)
            case "$2" in
                /*) DOCUMENT="$2"
                ;;
                *) DOCUMENT="$PWD/$2"
                ;;
            esac
             shift
            ;;
            --image)
            case "$2" in
                /*) IMAGE="$2"
                ;;
                *) IMAGE="$PWD/$2"
                ;;
            esac
             shift
            ;;
            --vm)
            case "$2" in
                /*) VM="$2"
                ;;
                *) VM="$PWD/$2"
                ;;
            esac
             shift
            ;;
        -*) VMOPTIONS="$VMOPTIONS $1 $2"
            shift
            ;;
        *)  IMOPTIONS="$IMOPTIONS $1 $2"
            shift
            ;;
    esac
    shift
    done
fi

# do not crash on dbus errors
export DBUS_FATAL_WARNINGS=0

# make Compose input methods work
[ -z "$LC_ALL" ] && export LC_ALL="$LANG"

# if pulseaudio is running, fall back to OSS
if pulseaudio --check 2>/dev/null ; then
    VMOPTIONS="$VMOPTIONS -vm-sound-oss"
    if padsp true 2>/dev/null ; then
        WRAPPER=padsp
    fi
fi

# VM, Image, and Document are non-optional
# Document has to be present even if empty for IMOPTIONS to work
echo Executing: $WRAPPER "$VM" $VMOPTIONS "$IMAGE" "$DOCUMENT" $IMOPTIONS
exec $WRAPPER "$VM" $VMOPTIONS "$IMAGE" "$DOCUMENT" $IMOPTIONS

Sound is still choppy for some reason, To fix it you gotta kill pulseaudio


https://dl.dropbox.com/u/59329517/SmallerLogo.png
Please re-post this if you are against bullying.

Offline

 

#10 2013-04-22 13:53:37

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

Re: Resize collapses into nothing.

I've looked at Ludburghmdm's fix, and am having good luck with it too.

To summarize, it removes the "-xshm" flag from the VMOPTIONS line in the script that starts scratch, /usr/bin/scratch.

When I make that change:

* Resizing scratch works properly
* Maximizing scratch via the window manager works properly

However, using Scratch's full screen mode still does not work properly.

I tried this on Ubuntu 12.10 / quantal with 3d Unity.

Thanks, Ludburghmdm!

--Harley

Offline

 

Board footer