Bug 465707 - Menu bar items not working
Summary: Menu bar items not working
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 13:41 UTC by Mark Medoff
Modified: 2023-04-11 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
image.png (12.14 KB, image/png)
2023-03-01 12:49 UTC, Mark Medoff
Details
image.png (11.15 KB, image/png)
2023-03-02 13:30 UTC, Mark Medoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Medoff 2023-02-14 13:41:54 UTC
SUMMARY
Calculator and Report A Bug don't launch from menu bar
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
In settings, I have set gnome-calculator as my default calculator in the program. It will not launch. Help > Report A Bug launches Chrome and then instantly crashes Chrome.


STEPS TO REPRODUCE
1.  Set gnome-calculator in Settings
2. Click on calculator in Menu Bar
3. 

OBSERVED RESULT
Calculator doesn't launch
If I type gnome-calculator in Terminal, Calculator launches as expected.

EXPECTED RESULT
KMyMoney Menu Bar used to launch Calculator correctly in Linux Mint. It no longer does.
Report a bug from help menu used to properly launch Chrome and sent to this site to report bugs. It no longer does.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Linux Mint 21.1
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: Version 5.102.0
Qt Version: 
Version 5.15.8 (built against 5.15.8)

ADDITIONAL INFORMATION
KMyMoney
Version 5.1.3-bff48dab5
Comment 1 Jack 2023-02-28 21:37:42 UTC
Both the calculator (kcalc, not gnome) and report-bug work for me with master version in Gentoo.  However, the appimage for 5.1 launches the calculator but not report-bug.  I do get the report-bug popup, but when I click the link, I get a console error 

XPCOMGlueLoad error for file /usr/lib64/firefox/libxul.so:
/tmp/.mount_kmymoniJbaVi/usr/lib/libssl3.so: version `NSS_3.80' not found (required by /usr/lib64/firefox/libxul.so)
Couldn't load XPCOM.

suggesting it's a build related error, not inherent to KMM, and it might just be a version mismatch requiring rebuilding something.  I'd probably report it to Mint.  I might also try setting firefox instead of chrome/chromium in case the problem is actually in the browser and not in KMM/KDE.
Comment 2 Mark Medoff 2023-03-01 12:49:19 UTC
Created attachment 156868 [details]
image.png

I downloaded the latest appimage (408) for linux and tried the calculator
from the menu.
I now get the below dialog box which I never got before, but calculator
still doesn't launch from menu but does when the same command is given in
Terminal.

[image: image.png]

Mark
Comment 3 Jack 2023-03-01 16:13:11 UTC
Just a guess, but try putting in the full path to gnome-calculator.  Also, is there any console output when you get that error?
Comment 4 Mark Medoff 2023-03-02 13:30:16 UTC
Created attachment 156918 [details]
image.png

Jack

I tried full path with appimage. I went to console and did a "whereis" to
confirm path for gnome-calculator. I copied that path and pasted it into
settings for program.
Got the below error when I tried to use calculator from menu bar:

[image: image.png]

I then ran program from console as you suggested with full path in the
settings. Calculator worked fine from menu bar. I then removed the path
from the calculator setting and ran again from console. Calculator ran fine
without path from menu bar with console.

Hope that will help you figure out what the problem is.

Mark

On Wed, Mar 1, 2023 at 11:13 AM Jack <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=465707
>
> Jack <ostroffjh@users.sourceforge.net> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|
> |ostroffjh@users.sourceforge
>                    |                            |.net
>
> --- Comment #3 from Jack <ostroffjh@users.sourceforge.net> ---
> Just a guess, but try putting in the full path to gnome-calculator.  Also,
> is
> there any console output when you get that error?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Jack 2023-03-02 18:22:15 UTC
Mark,
[When replying to a bug by email, please send only your reply, and cut out what you are replying to, as your entire message becomes the next comment.]
So appimage works if launched from command line, but not if launched by clicking on its icon.  It seems like something is missing from the appimage, but is able to be found when launched from command line.  There is probably an environment variable which lets it find the system copy of some required library.  Do you get any console error when trying the distro version from command line?  (try both the calculator and report a bug.)
Comment 6 Jack 2023-03-12 18:34:13 UTC
Adjusting state.
Comment 7 Bug Janitor Service 2023-03-27 03:45:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-04-11 03:45:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!