after great frustration with snap and snapcraft I would like to remove my software from the snap store. I have however not been able to find out how this can be done. Can you please help?
Sorry to hear that. Is there anything we can work with you on to resolve your frustration?
That said, one quick and easy way to hide the snap is to go to the setting screen in the store front page and change it to “Private”, and in the releases tab, close all channels.
Sorry to hear that. Is there anything we can work with you on to
resolve your frustration?
Dear Alan,
thank you for your quick and helpful reply. I am trying to publish a
little calculator app written with Qt that I use to add times in my
pilot’s flight log:
In general, you can use methods described in Debugging snaps to get an idea what plugs/permissions are lacking (. snappy-debug will outright point you to possible solutions.
I tested enroute like so: snap install --devmode enroute-flight-navigation. This allowed me to launch the app, which means the problem is a problem of missing permissions/plugs. snappy-debug told me
first and foremost: thank you for your extremely prompt and very helpful reply. I am genuinely grateful!
I merged your pull request, but now compilation fails with the error message below. Could you please have a look? Are there some dependencies missing in kde-framworks-5? I tried to fix the problem by adding “libegl1-mesa-dev” in “build-packages”, but that led to seriously-looking warnings that I could not make sense of
Cannot generate a safe runtime search path for target addhoursandminutes
because files in some directories may conflict with libraries in implicit
directories […]
Any help is greatly appreciated!
Best,
Stefan.
CMake Error at /snap/kde-frameworks-5-core18-sdk/current/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):
The imported target "Qt5::Gui" references the file
"/usr/lib/x86_64-linux-gnu/libEGL.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/snap/kde-frameworks-5-core18-sdk/current/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"
but not all the files it references.
again: thank you so much! There are new problems, however.
Now the app compiles (with a warning message: “Cannot generate a safe runtime search path […]”), but the app behaves strangely upon startup:
If I start the app using the standard Gnome graphical interface, the app shows a “busy” cursor for about 15 seconds, whenever the cursor is over the window frame or the main calculator GUI item. After 15 seconds, the cursor changes to its normal “pointer” shape. This is of course very confusing to the user.
This problem does not show with locally compiled binaries. It does not show in the flatpak package and it does also not show when I start the app from the command line, either as
add-hours-and-minutes
snap run add-hours-and-minutes
I note, however, that when I run the command “add-hours-and-minutes”, the app displays the warning “Qt: Session management error: None of the authentication protocols specified are supported”. Is there another plug that’s missing? The command “snappy-debug” does not show any issues, and the output of “snap connections add-hours-and-minutes” is added below.
I’m glad you didn’t get discouraged from giving snaps a try despite your initial frustration.
Let’s debug your problem:
We observe a difference in app startup behaviour between a launch from the console and from the GNOME desktop environment, and thus we can guess that GNOME does something undesirable, at least as far as we can see.
Having never experienced such a problem before, I take a look at your desktop file and make an educated guess. Comparing the desktop file to a well-behaving Qt-application is also a good idea, of course.
[Desktop Entry]
Type=Application
Version=1.1
Name=Add Hours and Minutes
Name[de]=Rechnen mit Stunden und Minuten
GenericName=Calculator for adding times
GenericName[de]=Rechner zum Zusammenzählen von Zeiten
Icon=${APP_ID}
TryExec=${PROJECT_NAME}
Exec=${PROJECT_NAME}
Terminal=false
Categories=Utility;Calculator;
StartupNotify=true
thank you very much again. As you guessed all problems vanished once I removed the entry “StartupNotify”. That would have taken me ages to find out – if I had found out about that all. I think the snap is near-perfect now.
the app “Enroute” is much more serious – this is the app that I really care about. The app absolutely needs Qt5.15 and might soon require Qt6. The app works well, except that the mouse cursor is way too small on high-resolution displays. I have been unable to fix this issue; any help is greatly appreciated. Also, are you aware of good-quality snaps that I could use as an example?
Best wishes – and thanks again,
Stefan.
PS: I added the plugs desktop, desktop-legacy, wayland, and x11 as you suggested. The command “snappy-debug” now reports only the warning add 'process-control' to 'plugs'. I do not quite understand because process control is enabled: