pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
228 stars 45 forks source link

Launcher Calculator #94

Closed Sklyvan closed 2 years ago

Sklyvan commented 2 years ago

(1) Issue/Bug Description: When you use the Launcher Calculator, there is a small bug that makes the calculator to ignore the negative symbol. This happens when you are using the negative symbol from a previous result at the calculator, and the problem is that the negative symbol that the calculator detects is different to the one from the calculator output.

(2) Steps to reproduce (if you know): -100+90 Click enter and you will have = −10 Now, if you add +1: = −10+1 = 11 You can visually see that the first negative symbol - is not the same as the one from the output −, so probably, the calculator does not detect the symbol.

(3) Expected behavior: -100+90 = -10 = -10 + 1 = -9

(4) Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="21.10" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 21.10" VERSION_ID="21.10" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=impish UBUNTU_CODENAME=impish LOGO=distributor-logo-pop-os

(5) Gnome Shell version: GNOME Shell 40.5

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

pop-shell: Installed: 1.1.0 ~ 1648206495 ~ 21.10 ~ 28c3a18 Candidate: 1.1.0 ~ 1648206495 ~ 21.10 ~ 28c3a18 Version table: *** 1.1.0 ~ 1648206495 ~ 21.10 ~ 28c3a18 1001 1001 http://apt.pop-os.org/release impish/main amd64 Packages 1001 http://apt.pop-os.org/release impish/main i386 Packages 100 /var/lib/dpkg/status

(7) Where was Pop Shell installed from: Basic Pop!_OS installation

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): 2 x 1080p, Horizontal

(9) Other Installed/Enabled Extensions:

(10) Other Notes: