sugarlabs / activity-abacus Goto Github PK
View Code? Open in Web Editor NEWa tool for simple arithmetic calculations
License: GNU General Public License v3.0
a tool for simple arithmetic calculations
License: GNU General Public License v3.0
Hello, and thanks!
I'm trying this on Pop!_OS, with v61 via flathub. I am excited to see that I can type numbers at the top of the abacus and see the results, but I can only do so with the number row of my keyboard, not the numpad, regardless of numlock state. I'm using a lenovo ideapad, and can list more specifics if the problem is not reproducible elsewhere.
I observed that there's very less space between the result area, Toolbar and abacus area.
I think increasing the margin between Result part, Toolbar and Abacus will give us more space and would look cleaner.
Tasks:
In abacus_window.py at line 773, https://github.com/sugarlabs/activity-abacus/blob/master/abacus_window.py#L773
locale.setlocal(locale.LC_NUMERIC, '')
may fail with a traceback and "unsupported locale setting".
Ubuntu 18.04 beta. Reproduces in Python;
import locale
locale.setlocal(locale.LC_NUMERIC, '')
Depends on environment variables;
Hello, and thanks for this! I especially appreciate the custom layouts.
I have v61 installed via flathub.
I find using a trackpad for this is cumbersome, and would really appreciate a handful of keyboard controls, something like:
left
and right
: change column focusup
and down
: slide one lower bead of focused columnshift
+up
and shift
+down
: slide all lower beads of focused columnctrl
+up
and ctrl
+down
: slide one upper bead of focused columnshift
+ctrl
+up
and shift
+ctrl
+down
: slide all upper beads of focused columnc
or r
, I don't know: clear/reset boardesc
: clear and focus the number entry field (leaving board intact)Steps to reproduce:
Logs have this:
1523625981.252962 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/gnome/48x48/mimetypes/binary.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 214, in _get_attach_points
cp.readfp(config_file)
File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/gnome/48x48/mimetypes/binary.png, line: 1
'\x89PNG\r\n'
After making a calculation and trying to reset the abacus board, the reset button has no effect and this is shown in the logs.
Noticed after a couple of tries.
Traceback (most recent call last):
File "/home/ibiam/Activities/activity-abacus/abacus_window.py", line 939, in _keypress_cb
self._process_numeric_input(self.last, k)
File "/home/ibiam/Activities/activity-abacus/abacus_window.py", line 981, in _process_numeric_input
float(newnum.replace(self.decimal_point, '.')))
ValueError: could not convert string to float:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.