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

--- Comment #9 from Lennart Rosam <register+kdeb...@signup.takuto.de> ---
(In reply to Lennart Rosam from comment #8)
> Created attachment 162013 [details]
> New crash information added by DrKonqi
> 
> kmenuedit (5.27.8) using Qt 5.15.10
> 
> I tried editing the Menu entry for 1Password. Here's the  1password.desktop
> file that caused the crash for me:
> 
> [Desktop Entry]
> Name=1Password
> Exec=/opt/1Password/1password --ozone-platform-hint=auto %U
> Terminal=false
> Type=Application
> Icon=1password
> StartupWMClass=1Password
> Comment=Password manager and secure wallet
> MimeType=x-scheme-handler/onepassword;
> Categories=Office;
> 
> -- Backtrace (Reduced):
> #4  0x00007f98add0d9d4 in QWidgetLineControl::internalSetText(QString
> const&, int, bool) () from /lib64/libQt5Widgets.so.5
> #5  0x000055636d72563c in BasicTab::setEntryInfo (this=0x55636ee996b0,
> entryInfo=0x55636f0d7ea0) at
> /usr/src/debug/kmenuedit-5.27.8-1.fc38.x86_64/basictab.cpp:382
> #6  0x00007f98acee8608 in doActivate<false> (sender=0x55636ee634d0,
> signal_index=27, argv=0x7ffec390ff80) at kernel/qobject.cpp:3937
> [...]
> #8  0x000055636d72c378 in TreeView::entrySelected (_t1=<optimized out>,
> this=0x55636ee634d0) at
> /usr/src/debug/kmenuedit-5.27.8-1.fc38.x86_64/redhat-linux-build/
> kmenuedit_autogen/EWIEGA46WW/moc_treeview.cpp:250
> #9  TreeView::itemSelected (this=0x55636ee634d0, item=0x55636f115d50) at
> /usr/src/debug/kmenuedit-5.27.8-1.fc38.x86_64/treeview.cpp:642

Update: Turns out, the desktop file I originally posted (from
/usr/share/applications) was not the culprit. I edited the shortcut before and
a file was created under ~/.local/share/applications. Removing the file fixes
the crash. Here's the content of the file:

[Desktop Entry]
Categories=Office;
Comment=Password manager and secure wallet
Exec='/opt/1Password/1password --ozone-platform-hint=auto'
Icon=1password
MimeType=x-scheme-handler/onepassword;
Name=1Password
NoDisplay=false
Path=
StartupNotify=true
StartupWMClass=1Password
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

So to reproduce, put the file contents from comment #8 into
/usr/share/applications/1password.desktop and the contents of the file above
into ~/.local/share/applications/1password.desktop. Then try to edit the
1Password application under "Office".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to