Bug 437097

Summary: Spectacle snap broken on Ubuntu 18.04.5 LTS ?
Product: [KDE Neon] neon Reporter: stevenbenbow
Component: SnapsAssignee: Neon Bugs <neon-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate, neon-bugs-null, sgmoore, stevenbenbow
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description stevenbenbow 2021-05-14 15:45:22 UTC
SUMMARY

Spectacle 21.04.0 installed from the snap store will not run on Ubuntu 18.04.5 LTS.  When attempting to run, the following error is received:

spectacle: symbol lookup error: /snap/spectacle/136/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5: undefined symbol: _ZN9KLineEdit16returnKeyPressedERK7QString

Spectacle snaps prior to this version were working fine for me and only started to fail to work after a recent update (possibly before 21.04.0 - I don't have a record of the last working version).

Apologies if this is a local error.  I'm not a snap expert but had assumed that all necessary dependencies should be shipped in the snap package.

STEPS TO REPRODUCE
1. Install spectacle from https://snapcraft.io/spectacle
2. Run the program

OBSERVED RESULT
spectacle: symbol lookup error: /snap/spectacle/136/usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5: undefined symbol: _ZN9KLineEdit16returnKeyPressedERK7QString

EXPECTED RESULT
Program would run

SOFTWARE/OS VERSIONS
Ubuntu 18.04.5 (assuming other software is irrelevant since this relates to the snap version, but please tell me if more info is needed)

ADDITIONAL INFORMATION
$ snap info --verbose spectacle
	name:    spectacle
	summary: Screenshot capture utility, replaces KSnapshot
	health:
	  status:  unknown
	  message: health has not been set
	publisher: KDE✓
	store-url: https://snapcraft.io/spectacle
	contact:   https://bugs.kde.org/enter_bug.cgi?product=neon&component=Snaps
	license:   unset
	description: |
	  Spectacle captures images of the screen. It can capture the whole screen,
	  a specified region, an individual window, or only part of a window.
	commands:
	  - spectacle
	notes:               
	  private:           false
	  confinement:       strict
	  devmode:           false
	  jailmode:          false
	  trymode:           false
	  enabled:           true
	  broken:            false
	  ignore-validation: false
	base:         core20
	snap-id:      tg12Jrs93ndp40AEQnlbuMbtmVJ6ZPpk
	tracking:     latest/stable
	refresh-date: today at 13:44 BST
	channels:
	  latest/stable:    21.04.0        2021-04-28 (136) 115MB -
	  latest/candidate: 21.04.0        2021-05-07 (137) 115MB -
	  latest/beta:      ↑                                     
	  latest/edge:      master+0a1f081 2019-06-06  (23) 180kB -
	installed:          21.04.0                   (136) 115MB -
Comment 1 Scarlett Moore 2022-10-18 16:02:55 UTC

*** This bug has been marked as a duplicate of bug 439457 ***