Pull in Calculus for a Native Calculator

Bug #1325777 reported by Sergio Macuil
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
elementary OS
Fix Released
Wishlist
Cody Garver

Bug Description

 I simply HATE the current default calculator app in Luna. Gnome-calculator looks horrid in Luna and since I see no current traction on a calculator app for Isis, I wanted to start my goal by making a calculator app. I did have make a mockup sometime ago but I've since then refined it. Just a basic calculator that has a history function like a calculator app in android.

Here's a couple of mockups.
https://lh3.googleusercontent.com/-ci5IZbrNy9Y/UtyjlAnZoPI/AAAAAAAABPc/ad_aCOH-pD8/w400-h640-no/2.0+View+Default.png
https://lh4.googleusercontent.com/-RcWZwr7S1T0/UtyjlHkSJ4I/AAAAAAAABPY/9g4CW62QYxs/w400-h640-no/2.0+View+History.png

I will most definitely post a bounty in bounty source.

Revision history for this message
David Gomes (davidgomes) wrote :

There's Pantheon Calculator. Or there was, I don't remember what happened to it.

Revision history for this message
Avi Romanoff (aroman) wrote :

MBarvian wrote pantheon-calculator (https://launchpad.net/pantheon-calculator), but unfortunately is not an active contributor to the project any more.

Here's what it looked like: http://i.imgur.com/3KNbjsA.png

You are welcome to put a bounty on this, but it's not on track for Isis this late in the game.

Changed in elementaryos:
importance: Undecided → Wishlist
status: New → Confirmed
milestone: none → isis+1-beta1
Avi Romanoff (aroman)
Changed in elementaryos:
milestone: isis+1-beta1 → none
Revision history for this message
Sergio Macuil (dasurgeeo) wrote :

It's some folks are already working on it. I may have to work on the icon to make it look good.

Revision history for this message
Angel Araya (arayaq) wrote :

Sergio, before jumping on hacking, can you elaborate a bit more on your desired final app?

My main questions are the following:
    * Do you want to keep scientific/programmer mode or only basic mode.
    * How long does history has to go back in time. Only current session/last X sessions / last X queries / lifetime?
    * Any other special / non-traditional feature (clipboard support anyone?)

If you have any technical aspect that want to see covered please do add it.

Revision history for this message
Sergio Macuil (dasurgeeo) wrote : Re: [Bug 1325777] Re: Native Calculator

1. WYSIWYG. Simple calculator app for the simple things.
2. History would only show the current sessions history
3. The entry box would be able to use the clipboard.
4. It should launch fast. Like instantly.
5. It should redo or undo anything you entered in the box.
On Jul 29, 2014 12:25 AM, "Angel Araya" <email address hidden> wrote:

> Sergio, before jumping on hacking, can you elaborate a bit more on your
> desired final app?
>
> My main questions are the following:
> * Do you want to keep scientific/programmer mode or only basic mode.
> * How long does history has to go back in time. Only current
> session/last X sessions / last X queries / lifetime?
> * Any other special / non-traditional feature (clipboard support
> anyone?)
>
> If you have any technical aspect that want to see covered please do add
> it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1325777
>
> Title:
> Native Calculator
>
> Status in elementary OS:
> Confirmed
>
> Bug description:
> I simply HATE the current default calculator app in Luna. Gnome-
> calculator looks horrid in Luna and since I see no current traction on
> a calculator app for Isis, I wanted to start my goal by making a
> calculator app. I did have make a mockup sometime ago but I've since
> then refined it. Just a basic calculator that has a history function
> like a calculator app in android.
>
> Here's a couple of mockups.
>
> https://lh3.googleusercontent.com/-ci5IZbrNy9Y/UtyjlAnZoPI/AAAAAAAABPc/ad_aCOH-pD8/w400-h640-no/2.0+View+Default.png
>
> https://lh4.googleusercontent.com/-RcWZwr7S1T0/UtyjlHkSJ4I/AAAAAAAABPY/9g4CW62QYxs/w400-h640-no/2.0+View+History.png
>
> I will most definitely post a bounty in bounty source.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1325777/+subscriptions
>

Revision history for this message
Angel Araya (arayaq) wrote : Re: Native Calculator

In the mockups you presented it was a (kind of) borderless window. Do you still want it this way or can it be a more standar window. I would recommend the later, like the one I attached. Of course it can be tweaked to use the more modern head-bars (Is that how it is called?)

(BTW, I guess I can say I'm already working on it)

Revision history for this message
Sergio Macuil (dasurgeeo) wrote : Re: [Bug 1325777] Re: Native Calculator

When I thought about this app I imagined it as a widget just like the one
+Dane Henson's agenda app. A pop up dialogue type app that serves one
simple purpose, fast, and sexy. It's not an app per say but rather a
widget. If you want to reference something I imagined look at this:
http://elementarytips.blogspot.com/2013/03/agenda-quick-review.html?m=1
On Jul 29, 2014 9:01 PM, "Angel Araya" <email address hidden> wrote:

> In the mockups you presented it was a (kind of) borderless window. Do
> you still want it this way or can it be a more standar window. I would
> recommend the later, like the one I attached. Of course it can be
> tweaked to use the more modern head-bars (Is that how it is called?)
>
> (BTW, I guess I can say I'm already working on it)
>
> ** Attachment added: "Selection_001.png"
>
> https://bugs.launchpad.net/elementaryos/+bug/1325777/+attachment/4165544/+files/Selection_001.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1325777
>
> Title:
> Native Calculator
>
> Status in elementary OS:
> Confirmed
>
> Bug description:
> I simply HATE the current default calculator app in Luna. Gnome-
> calculator looks horrid in Luna and since I see no current traction on
> a calculator app for Isis, I wanted to start my goal by making a
> calculator app. I did have make a mockup sometime ago but I've since
> then refined it. Just a basic calculator that has a history function
> like a calculator app in android.
>
> Here's a couple of mockups.
>
> https://lh3.googleusercontent.com/-ci5IZbrNy9Y/UtyjlAnZoPI/AAAAAAAABPc/ad_aCOH-pD8/w400-h640-no/2.0+View+Default.png
>
> https://lh4.googleusercontent.com/-RcWZwr7S1T0/UtyjlHkSJ4I/AAAAAAAABPY/9g4CW62QYxs/w400-h640-no/2.0+View+History.png
>
> I will most definitely post a bounty in bounty source.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1325777/+subscriptions
>

Angel Araya (arayaq)
Changed in elementaryos:
assignee: nobody → Angel Araya (arayaq)
Revision history for this message
Steven Verbeek (dubcanada) wrote : Re: Native Calculator

Are you guys wanting it to look more like http://i.imgur.com/3KNbjsA.png or more like the other elementary apps?

I started working on this as I have no seen any activity thus far. Let me know if someone else is working on it and I'll work on another thing.

Changed in elementaryos:
assignee: Angel Araya (arayaq) → Steven Verbeek (dubcanada)
Revision history for this message
Angel Araya (arayaq) wrote :

@dubcanada
I'm working on it (There's a branch linked and I was assigned, no idea why you said there's no activity :P)

Changed in elementaryos:
assignee: Steven Verbeek (dubcanada) → Angel Araya (arayaq)
status: Confirmed → In Progress
Revision history for this message
Steven Verbeek (dubcanada) wrote :

Oh my apologies, bountysource really doesn't show a lot of details ;)

There appears to be a whole bunch of people working on this.

Revision history for this message
Angel Araya (arayaq) wrote :

I've come to a point where I need feedback from the developers on how to continue (functionality and UI is there), but I need to know if this is to become an official project to replace Gnome Calculator or a 3rd party app, among other things. If anyone could respond on this report (Or invite me to Slack since IRC seems dead, I don't mind it ;) ) would be of great help.

Revision history for this message
Jacob Parker (jacobparker1992) wrote :

@Angel,
I'm sure the design team will add, but my comments are as follows:
* I can't resize the window
    * This would be a good option to allow a scientific mode, which has sin, cos, tan etc.
* I can't see what I typed, nor history
* Use a headerbar, even if it only has the title (like Pantheon Photos and Pantheon Terminal)
* The undo shouldn't be as is---replace with back/forward in history

Optional:
* Instant results that don't display errors until enter/= is pressed

Revision history for this message
Lee Fallat (ircsurfer33) wrote :

Whoever wishes to take my code to continue this, feel free. It's done in C and GTK3. Very simple code base. Interface is modifiable with CSS. Still needs the calculator engine and history view.

https://github.com/lf94/luna-calc

I'm currently way too busy to fulfill this request.

Revision history for this message
Lars Berscheid (siasola) wrote :

Although there are a few projects for a native calculator app, I've started writing one, which is by now quite stable. Elementary Calculator (https://launchpad.net/elementarycalculator) is completely written with GTK3 and Vala. The UI is rather simple, but math functions and mathematical constants can be typed in. It has a history functionality for the current session and clipboard support.

Some screenshots are at http://imgur.com/a/tXb7R and with the dark theme at http://imgur.com/G9VF3n7.

Any comments?

Revision history for this message
Sergio Macuil (dasurgeeo) wrote : Re: [Bug 1325777] Re: Native Calculator

Hey bud. Hit me up on Google plus.

On Wed, Oct 15, 2014 at 4:04 AM, Lars Berscheid <email address hidden> wrote:

> ** Branch linked: lp:elementarycalculator
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1325777
>
> Title:
> Native Calculator
>
> Status in elementary OS:
> In Progress
>
> Bug description:
> I simply HATE the current default calculator app in Luna. Gnome-
> calculator looks horrid in Luna and since I see no current traction on
> a calculator app for Isis, I wanted to start my goal by making a
> calculator app. I did have make a mockup sometime ago but I've since
> then refined it. Just a basic calculator that has a history function
> like a calculator app in android.
>
> Here's a couple of mockups.
>
> https://lh3.googleusercontent.com/-ci5IZbrNy9Y/UtyjlAnZoPI/AAAAAAAABPc/ad_aCOH-pD8/w400-h640-no/2.0+View+Default.png
>
> https://lh4.googleusercontent.com/-RcWZwr7S1T0/UtyjlHkSJ4I/AAAAAAAABPY/9g4CW62QYxs/w400-h640-no/2.0+View+History.png
>
> I will most definitely post a bounty in bounty source.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1325777/+subscriptions
>

--
Sergio Macuil, Jr ;)

Revision history for this message
StelarCF (stelarcf) wrote : Re: Native Calculator

No apparent activity from former assignee.

Changed in elementaryos:
assignee: Angel Araya (arayaq) → StelarCF (stelarcf)
Revision history for this message
Marvin Beckers (embik) wrote :

Would love to propose my own application calculus as well. I'm not sure what is the current state of adapting a native calculator application - if it's already decided, no problem, but I would love to hear some feedback :)

Marvin Beckers (embik)
Changed in elementaryos:
assignee: StelarCF (stelarcf) → Marvin Beckers (embik)
Revision history for this message
StelarCF (stelarcf) wrote :

Marvin, since you want to try to work on this as well, I'd say it would be better to assign this to "nobody", to avoid any conflict.

Changed in elementaryos:
assignee: Marvin Beckers (embik) → nobody
Revision history for this message
Marvin Beckers (embik) wrote :

I did not see your comment before, sorry. However, my application is done in terms of features I wanted to implement, so I wouldn't call it "try to work".

Revision history for this message
StelarCF (stelarcf) wrote :

I see, that makes sense.

Revision history for this message
Danielle Foré (danrabbit) wrote :

I've tested out Calculus and it seems to do its job. Marvin is hanging out with us in Slack these days working on the user accounts plug. He's been very responsive to bug reports. I like the way he's implemented the advanced mode. I think it'd be okay to lose the financial and programming modes. If you really need a crazy calculator, it's not like you can't just install one.

Changed in elementaryos:
assignee: nobody → Marvin Beckers (embik)
milestone: none → freya-beta2
summary: - Native Calculator
+ Pull in Calculus for a Native Calculator
Revision history for this message
Marvin Beckers (embik) wrote :

I want to add that - if needed - calculus could be renamed into something more suiting to the pantheon/elementary app suite like pantheon-calc.

Cody Garver (codygarver)
Changed in elementaryos:
assignee: Marvin Beckers (embik) → Cody Garver (codygarver)
status: In Progress → Fix Committed
Revision history for this message
notreallyhere (notreallyhere-deactivatedaccount) wrote :

It is not possible to fire bug on pantheon-calculator yet, but i think order of buttons is wrong. They should be in this order: / x - + also "plusminus" button should be there. See original gnome-calculator.

Revision history for this message
Marvin Beckers (embik) wrote :

Bugs for pantheon-calculator are now open, please consider to re-report your bug. Also, I do not know what you mean by the "plusminus" button, to be honest :/

Revision history for this message
TDT (the-dirtchamber) wrote :

I think he means a button to change to negative digits (like -200 + 300 = 100, for example). You can do that by clicking the - button before the number, there's no reason to add another button just for that.

Revision history for this message
Pop Vlad-Aurel (popvladaurel-deactivatedaccount) wrote :

not a bug, just a sugestion: classic gnome-calculator could be launched from any multimedia keyboard that had a special key for calculator (for example, my Asus K53SD uses Fn + NumpadEnter). Could this system be applied to pantheon-calculator?

Changed in elementaryos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.