Giter VIP home page Giter VIP logo

sugar's Issues

Suggestion - Finance Application

Finance Application - When selecting a period of forever in the finance application, the list is not updated until a new credit is added. I suggest the list be updated immediately upon selection.

In Countries Activity - Text Repeating

In Countries Activity - Began to type out united states, it went crazy and began typing “u” over and over again. Also occurred when attempting to type Australia. Was able to type Libya successfully. See screenshot.
20170529_142130

Web Browser Activity failing to start

Hi,

I installed Sugar via APT as the guide says for Ubuntu: apt install sucrose

After installing on a fresh Ubuntu 17 install, I was able to boot into Sugar, and all the preinstalled Activities worked fine except for the Web Browser.

Every time you tried to load it, it would just say "Browser failed to load".

I traced the error to an import in the Browser.activity via a stacktrace in log file. It failed on:

webactivity.py:
from collabwrapper.collabwrapper import CollabWrapper

I fixed this by doing the following:

sudo touch collabwrapper/__init__.py

Adding this ticket so it can be fixed properly in the main branch so no one else has this problem.

HTH

Journal not shown in home view

The Ubuntu 16.04 sucrose does not show the Journal as the current activity below the XO icon in the home view. I think this is the way it should work. However, a click on the current activity button links to the Journal.

My proposal is that Sugar never show the Journal icon as the current activity - it isn't an activity. The Journal should be considered a View with access by the Journal button or frame link. This would enable a user to switch to the Journal view and then return with the Activity view button.

If this is not the place for general issues, I would appreciate some counsel on where these issues should be raised.

Can not run the Sugar Development Environment

After successfully installing sucrose, I could not manage to run the Sugar DE. I tried in both rdesktop and as a session, but I will focus more on the session error as there are more log files for that. The first time I ran the session, the setup went fine. After the setup was complete, though, the screen switch to a photo of my desktop instead of the Sugar DE. While it did have the Sugar cursor, I could not do anything besides move the cursor or switch to a console terminal. This forced me to restart my computer. Now, whenever I try to log into the Sugar session, it will quickly flash my desktop and the cursor, but take me back to the login prompt right after.

I am running AVLinux (I believe the 2017 edition, but I'm not 100% sure), which is based off Debian.
Running lsb_release -a | grep Description says

No LSB modules are available.
Description:	Debian GNU/Linux 9.4 (stretch)

I also use UberMix, which is based off Ubuntu, and had no problems with either rdesktop or running the Sugar DE as a session.

I have attached my log files below:
Sugar Logs.zip

Thank you,
Harrison

Ubuntu 16.04 Sucrose - no network

Ubuntu 16.04 sucrose does provide an internet connection -the one to which ubuntu is connected. However, the neighborhood view is empty.

Frame icons vanish when frame palettes open

Reproducer: open the frame, hover mouse or touch the battery or speaker icon.

Expected result: palette for icon is drawn, no other changes.

Observed result: palette for icon is drawn, but other icons may vanish. Is most likely on first use of palette for an icon; repeated uses don't cause other icons to vanish.

Occurs on Ubuntu 18.04

Unable to get Paint to start.

I was not able to get the Paint app to start. It displays this message, "Paint failed to start." Screenshot attached.

20170529_144434

Suggestion - Clock Application

Clock Application - Toggling time to speech button does not result in any icon change. It’s impossible to tell that the button is actually a toggle and not a normal button. I suggest adding an icon that indicates when it is toggled.

Country activity repeating letter.

In the country activity, where you name one country for each letter except for w and x, the input will occasionally repeat, as if a key is stuck. Leaving the activity and then returning stops the repeating input, ruling out a keyboard issue, and I made a second copy of Sugar on a Stick that also has the same issue, ruling out the flash drive itself being a cause. It still could be my computer, but my computer has not had issues like this elsewhere.

Translator Malfunction

Update: Version: 0.108.1 windows x86_64 (64-bit)
Activity: Words
Activity Version: 21
Translating from English to Hindi, the translator reads an English phrase instead of reading the Hindi translation of the word. However, this only happens if the translated word and phrase are on different lines. If they are on the same line then it works fine. I'm not sure how to take a video of my problem without using another device.

Translator_Bugg (1).zip

Home view activity start-new using Alt key does not work

Reproducer: start an activity, stop it, view the home view activity ring, observe the activity icon now has user colour, press and hold the alt key, observe that user colour is removed, click on the icon, release the alt key.

Expected result; activity is started new.

Observed result; no response, no errors logged.

Workaround; right-click, choose start new.

Does not occur on Fedora 18.

Does occur on Ubuntu 16.04, and 18.04 beta.

Collaboration performance regression

On Ubuntu 18.04 on two laptops connected to an ad-hoc network, it takes 27 seconds between asking to join a shared Chat activity and being told the connection is ready. This used to be much faster.

Collaboration while connected is also affected. As an example, using the CollabWrapper test activity, ping times of a few hundred milliseconds were normal, but with Ubuntu 18.04 the ping times vary between 295ms and 11842ms, averaging around 5000ms (five seconds).

  • identify the responsible software libraries,
  • identify the sources of delay,
  • make changes as appropriate to Ubuntu, Telepathy, Sugar, Toolkit, or Chat.

Unable to Shutdown or Restart

After typing a bit in the writing application, I went back to the main menu to restart the computer. A message popped up asking if I wanted to restart and discard my unsaved document. I clicked yes, but nothing happened. Then I clicked restart again, but allowing the timer to finish and still nothing happened. I tried clicking restart and shut-down several times, sometimes with the dialogue appearing, and sometimes without. No matter what, the computer would not shut down or restart. I ended up having to physically restart by holding the physical power button on the computer.

SOAS liveinst fails with "gcore exited with status 256"

Can run SOAS by booting from USB stick, but installing to hard drive fails.

Running the liveinst command as per https://wiki.sugarlabs.org/go/Tutorials/Installation/Install_with_liveinst results in "No protocol specified; Anaconda received signal 11! gcore exited with status 256".

This is using http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Downloads x86_64 with SOAS released on 11 July 2017 with Fedora 26. Bootable USB stick created with Rufus https://rufus.akeo.ie on win10.

Hardware is a Laptop: HP Stream 14-ax010nr intel celeron N3060 1.6GHz cpu, 4096mb ram, and 32 gb SSD HD. Goal is to have this machine dual-booting win10 (for firmware updates) and SOAS from the hard drive (solid state drive or SSD).

sugar-control-panel harmless traceback

Using sugar-control-panel command generates a harmless but emotionally disruptive traceback;

guest@guest:~$ sugar-control-panel -g timezone
/usr/lib/python2.7/dist-packages/jarabe/journal/model.py:33: PyGIWarning: SugarExt was imported without specifying a version first. Use gi.require_version('SugarExt', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import SugarExt
/usr/lib/python2.7/dist-packages/jarabe/frame/eventarea.py:19: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Wnck
ERROR:root:Exception while loading extension:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/jarabe/controlpanel/cmd.py", line 68, in load_modules
    globals(), locals(), ['model'])
  File "/usr/share/sugar/extensions/cpsection/frame/model.py", line 17, in <module>
    from jarabe.frame import get_view
  File "/usr/lib/python2.7/dist-packages/jarabe/frame/__init__.py", line 16, in <module>
    from jarabe.frame.frame import Frame
  File "/usr/lib/python2.7/dist-packages/jarabe/frame/frame.py", line 31, in <module>
    from jarabe.frame.friendstray import FriendsTray
  File "/usr/lib/python2.7/dist-packages/jarabe/frame/friendstray.py", line 20, in <module>
    from jarabe.view.buddymenu import BuddyMenu
  File "/usr/lib/python2.7/dist-packages/jarabe/view/buddymenu.py", line 37, in <module>
    import jarabe.desktop.homewindow
  File "/usr/lib/python2.7/dist-packages/jarabe/desktop/homewindow.py", line 28, in <module>
    from jarabe.desktop.meshbox import MeshBox
  File "/usr/lib/python2.7/dist-packages/jarabe/desktop/meshbox.py", line 35, in <module>
    from jarabe.view.buddyicon import BuddyIcon
  File "/usr/lib/python2.7/dist-packages/jarabe/view/buddyicon.py", line 19, in <module>
    from jarabe.view.buddymenu import BuddyMenu
ImportError: cannot import name BuddyMenu
/usr/share/sugar/extensions/cpsection/keyboard/model.py:19: PyGIWarning: Xkl was imported without specifying a version first. Use gi.require_version('Xkl', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Xkl
  
guest@guest:~$ █

Return status is zero, which indicates success. Actual output is the blank line before the shell prompt.

Text To Speech - Expletives

Text To Speech - Was able to make text to speech application say expletives. Using the following: “phuck”,”ass". Any expletive word censorship can be overridden by adding the “^” character before it. This character makes no sound so it just sounds like the normal expletive. Possibly other characters behave in the same way. I suggest creating or finding an extensive list of words to ban, or providing users the option to create a black list of words

Wireless always on but shown as off

My Settings - Network - Radio toggle button is always off. It can be turned on, but there is no effect; after restart it is off again. Wireless function continues to work regardless.

Ubuntu 18.04.

Emoji's Do Not Fit On Icon Bar

Under Chat Activity - Emoji icon bar extends down rather far. Emojis go off of my screen to the right. See Screenshot.
20170529_141451

Age picker slider causes disk I/O

Moving the slider back and forth causes disk writes as GSettings instances are being created and changed rapidly.

By comparison, the Frame control panel uses one instance of GSettings and waits for user to stop moving the slider before saving the change.

  • cache the GSettings instance instead of creating a new one for each change,
  • defer saving the change.

Journal Starts unexpectedly at the boot up in Ubuntu 17.10

After testing Sugar Live Build , Sugar on ubuntu 16.04 , 17.04 and 17.10. I noticed that in case of ubuntu 17.10 Journal activity starts over Home activity at the boot unexpectedly. It seems like it automatically starts at the boot without any user response.

Bringup on Wayland

Sugar desktop does not start on Wayland when tested with Fedora 27.

Workaround is to avoid Wayland by using an Xorg fallback configuration.

  • find out exactly what goes wrong when started under Wayland,
  • fix it, and port any necessary libraries such as our X session manager in sugar-toolkit-gtk3.

Our plans in 2013 were to wait for the necessary libraries to become available for Wayland, and these libraries seem to be available now.

Info Slicer - Graphical Glitch

Info Slicer - When loading up a wiki page on giraffes the window overlays the left hand side toolbar, and the
20170529_143254
rest of the screen is white. Appears to be a graphical glitch. See screenshot.

Story Activity - Text To Speech Censorship For Expletives

Story Activity - Story activity appears to have no censorship on text to speech whatsoever. I recommend implementing some version of this. I know if I was a child who had text to speech like this I'd have countless hours of fun figuring out how to get the computer to cuss. I know that as software developers it's not necessarily your job to monitor that closely, but at least making it a bit more difficult for kids to do would be nice.

Fedora-SoaS-armhfp-29.1.2-sda.raw.zx image stuck at waiting a start job

I prepare a SD card (32G Samung EVO) with Fedora-SoaS-armhfp-29. 1.2-sda.raw.zx for my Raspberry Pi 3. It stuck at

A start job is running for dev-disk...device ...

I waited for over 30 minutes for a couple times and I also tried to prepare the image by dd and Etcher.io but it still failed.

I wonder if someone can advise how to fix it.

Resume with uses existing activity instance even if a different activity is chosen

Reproducer: open Record, take a photo, switch to Journal, locate the photo, right-click, choose Resume with, and Image Viewer.

Expected result: Image Viewer activity starts and photo is shown.

Observed result: Record activity regains focus.

Workaround: stop Record activity before trying to Resume with.

(issue created so that anyone else can work on the problem)

Paste fails when frame contains multiple copies

Reproducer:

  • start Sugar 0.112,
  • start Terminal,
  • display some text,
  • select and copy some text using ctrl+shift+c; the frame will show a text clipping,
  • select and copy some other text using ctrl+shift+c; the frame will show two text clippings,
  • paste the text using ctrl+shift+v,

Expected result:

  • most recent text clipping is pasted,

Observed result:

  • nothing happens.

Logs: nothing unusual in Terminal log, but shell.log contains these two lines for each ctrl+shift+c key event,

1517518078.319098 WARNING root: no data for selection target MULTIPLE.
1517518078.328716 WARNING root: no data for selection target NULL.

Reported by @Menzador.

Strings with unnamed arguments cannot be properly localised

While regenerating the POT file (e.g. 4e551f0), warnings are issued for three source code lines;

src/jarabe/controlpanel/cmd.py:27
src/jarabe/frame/activitiestray.py:627
src/jarabe/view/alerts.py:38

The warnings issued are;

warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.

Home view still shows Browse if show_launcher = no

Reproducer: set Browse activity.info show_launcher = no, and restart Sugar.

Observed result: Browse is not shown in List View (F3, ctrl-2), but Browse is shown in Favorites View (F3, ctrl-1).

Expected result: Browse is not shown in either view.

show_launcher was proposed for deprecation in January 2014 on sugar-devel@. We might finish deprecating it, or we might fix it so it works the way it should.

document Sugar Live Build

Independently reproduce Sugar Live Build, and improve documentation.

When we released Sugar 0.112 a Debian Live Build was made for demonstrating, using, and developing for Sugar. Sugar Live Build is a complete bootable image containing Sugar and demonstration activities.

We need;

  • a README.md in the sugar-live-build repository to explain briefly (a) that repository contains configuration files for Debian Live Build, and (b) how to reproduce the build,

  • community edited Wiki pages for Sugar Live Build (page name Live_Build), with inline or subpage answers to frequently asked questions such as how to install, how to test, and how to reproduce,

  • community agreement and implementation of a transition to using download.sugarlabs.org for hosting live builds instead of people.sugarlabs.org,

  • documentation in a Wiki subpage of how to add additional Sugar activities and reproduce a build for a classroom,

  • community agreement to remove some quite old images on download.sugarlabs.org, which are out of date, unmaintained, consume disk space, and have software security vulnerabilities.

Prerequisites;

  • subscription to sugar-devel@ and systems@ mailing lists,

  • a Debian system, a schroot on an Ubuntu system, or a Debian virtual machine,

  • internet access to download or upload ISO files of about 1GB each,

  • a Sugar Labs shell account.

References:

But now how do I install Sugar to the hard drive?

Sorry, it is not documented at Sugar Labs because we just borrowed the downstream distribution method. Check the boot menu. It follows unchanged a tradition of Debian Live Builds, and has an option to install or graphical install.

Multiple display support is inconsistent

While using SOAS on multiple monitors, there is an inconsistency in how some activities and menus are displayed. For example, the gender selection and the two menus before it use only one screen, while age selection is across two. I have tested one and two monitors; both display on SOAS, but the problems only come up with multiple screens. I have not tested with more than two monitors, so I do not know if the apps that are stretched would continue stretching beyond two screens.

As it is now, some of the problems are:
The abacus is split across two screens; this is acceptable since nothing is cut off, but it splits the middle slider down the middle, which may create a large gap depending on the size of the monitor bezels.
Countries is on both screens. This application is stretched to go across the two screens, which results in a warped Earth.
Info Slicer takes up one and a half screens, making it very awkward. This is obviously not intended behavior; I would recommend the one screen and journal format.

For ease of use, the activities should be in one or two forms, not the current three (plus the InfoSlicer mess).

As it is currently:

  • The game selection: one screen and journal
  • Abacus: two screens
  • Browse: one screen and journal
  • Calculator: one screen and journal
  • Chat: two screens
  • Clock: one screen and desktop
  • Countries: two screens
  • Finance: one screen and desktop
  • FotoToon: one screen and desktop
  • Get Books: one screen and desktop
  • IRC: one screen and desktop
  • Info Slicer: two screens, but only takes up half of the second screen
  • Labyrinth: two screens
  • Maze: one screen and desktop
  • Memorize: two screens
  • Moon: two screens
  • Paint: two screens
  • Physics: two screens
  • Pippy: one screen and desktop
  • Portfolio: two screens
  • Record: two screens
  • Speak: two screens
  • Stopwatch: one screen and desktop
  • Story: two screens
  • TurtleBlocks: two screens
  • Typing Turtle: one screen and desktop
  • Visual Match: two screens
  • Words: two screens
  • Write: one screen and desktop

Generally, the Journal would be a better use of space in the applications that use one screen and place nothing on the second display. Also, the Abacus, Chat, Countries, Info Slicer, Memorize, Moon, Record, Speak, Story, Visual Match and Words are applications that run on two displays, but in my opinion should be reduced to one screen. Maze, however, should be expanded to two screens since it can benefit from the extra space.

I would recommend a configuration such as:

  • The game selection: one screen and journal
  • Abacus: one screen and journal
  • Browse: one screen and journal
  • Calculator: one screen and journal
  • Chat: one screen and journal
  • Clock: one screen and journal
  • Countries: one screen and journal
  • Finance: one screen and journal
  • FotoToon: one screen and journal
  • Get Books: one screen and journal
  • IRC: one screen and journal
  • Info Slicer: one screen and journal
  • Labyrinth: two screens
  • Maze: two screens
  • Memorize: one screen and journal
  • Moon: one screen and journal
  • Paint: two screens
  • Physics: two screens
  • Pippy: one screen and journal
  • Portfolio: two screens
  • Record: one screen and journal
  • Speak: one screen and journal
  • Stopwatch: one screen and journal
  • Story: one screen and journal
  • TurtleBlocks: two screens
  • Typing Turtle: one screen and journal
  • Visual Match: one screen and journal
  • Words: one screen and journal
  • Write: one screen and journal

Journal placed above Home after startup

In previous versions, Sugar startup shows the home view, a busy cursor, asynchronously starts the journal, and then turns off the busy cursor leaving the home view available.

In Ubuntu 17.10 Artful, Sugar startup shows the home view, a busy cursor, but the journal window is created above the home window.

Related to sugarlabs/sugar-toolkit-gtk3#368

Port to Python 3

Port Sugar to Python 3 and the Sugar Toolkit for GTK+ 3, providing a Python 3 implementation of this package with no Python 2 dependencies.

Requires most of sugarlabs/sugar-toolkit-gtk3#382, most of sugarlabs/sugar-datastore#7 and some of sugarlabs/hello-world#2 to be completed.

Progress goals:

  • port code in src/jarabe,
  • port code in extensions,
  • test display of available activities, which may be Python 2 or Python 3,
  • test starting the Hello World activity, a Python 3 GTK+ 3 activity,
  • test starting a Python 2 GTK+ 3 activity,
  • test starting a Python 2 GTK+ 2 activity,
  • port make files, and test that "make install" installs Python 3 binding.
  • update in-tree documentation,
  • fix newly introduced bugs,
  • make local Fedora and Debian packages for testing by others.

this is an issue for tracking a major project which is larger than one person's contributions, so developers should make pull requests to satisfy any of these items, and not ask to own the issue.

Strange Word In Abacus App?

Abacus - In English mode in the abacus it has what appears to be a foreign word Caacupe’ next to the reset button. See screenshot.

20170529_151429

activity icon not resized while in detail view in journal

Steps to reproduce:

  • Open CowBulls activity
  • Close CowBulls activity
  • Open Journal
  • Open the detail view of the CowBulls activity
  • Activity icon of the image appears than the usual size

journal-resize-bug

Reproduced on:

  • Ubuntu 16.04, Sugar 0.112
  • Ubuntu 18.04, Sugar 0.112

Possible fix:

  • Add a check to resize the icon to the desired size

[Feature]: Enable shift + click in journal

Proposed Feature:

  1. Open the journal
  2. Click on a checkbox(CellRendererToggle) next to an activity (say, 2nd in line from the top)
  3. Hold shift and click on another checkbox (say, 5th in line from the top)

Observed output:

  1. 2nd gets selected
  2. 5th is not selected (Shift + click is not detected)

Proposed output:
2nd, 3rd, 4th and 5th activities should get selected(checked)

Reason for proposal:
This could be helpful when a user wishes to remove a continuous list of activities(say, 10) out of a total of (say. 30). This coincides with the general way of selection using shift key

Finding:

  1. Shiift + click is not detected by toggled signal. It has no other signals available.
  2. A SHIFT Mask check can't be done because of 1.
  3. TreeView Column also didn't give a lead.

Seeking guidance:

  1. Whether this idea should be implemented ?
  2. If yes, what could be a possible area to look into
  3. This should be doable for favorite buttons(since they detect shift+click), but this again depends on 1. and the fact that is it achievable for checkboxes(to ensure consistency) without a cost

Kindly suggest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.