[kalzium] [Bug 469802] New: not possible to add abbreviations from GUI

Petras bugzilla_noreply at kde.org
Mon May 15 12:54:30 BST 2023


https://bugs.kde.org/show_bug.cgi?id=469802

            Bug ID: 469802
           Summary: not possible to add abbreviations from GUI
    Classification: Applications
           Product: kalzium
           Version: 22.08.3
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Calculator
          Assignee: kalzium at kde.org
          Reporter: p.jokubauskas at uw.edu.pl
  Target Milestone: ---

SUMMARY
***
It would be nice if adding user defined abbreviations for compounds would work
from GUI.
I see that default path where this is saved is under
`/usr/share/libkdeedu/data/symbols2.csv` - most likely cause of problem  is as
user has no write rights at such path.
***

I like the calculator from Kalzium a lot and use it sporadically at work (I am
analytical scientist). I use chemical calculator sporadically to check
theoretical composition of end-member minerals. It is in general one of these
cool apps, which could boost the reach out and showcase visitors of our lab
that KDE Neon is really nice everyday OS and comes packed with apps in
particularly useful to  scientists.
Typing full formulas is not always fun, thus I thought maybe I could add
abbreviations (Aliases), but that does not look to work.

STEPS TO REPRODUCE
1. I.e. I want to add Albite as `Ab` alias to NaAlSi3O8 formula.
2. in Aliases tab I enter `Ab`  for "Short-form" and `NaAlSi3O8` for
"Full-form" text field
3. click "Add Alias" button.

OBSERVED RESULT
1. under "Alias" GUI block I get text line "Unable to find the user defined
alias file./usr/share/libkdeedu/data/symbols2.csv"
2. If I edit symbols2.csv at mentioned path with `sudo` privilage and add the
wished entry, it then appears in GUI, thus the complain in GUI after clicking
"Add Alias" button looks to provide misinformation.

EXPECTED RESULT
Clicking "Add Alias" should add the alias to list

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.26
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
While fixing adding the aliases one-by-one from GUI would be good, I think
software would benefit if adding aliases massively would benefit. I.e. I would
like to add more than few thousand entries of known mineral formulas and its
abbreviations as aliases.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kalzium mailing list