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

            Bug ID: 426838
           Summary: kate Snap package should be packaged as classic mode.
                    Otherwise it cannot access dotfolders in home
                    directory.
           Product: kate
           Version: 20.04.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: siloco...@gmail.com
  Target Milestone: ---

SUMMARY
Snap kate package should be packaged as classic mode. Otherwise it cannot
access dot folders in home directory nor anywhere else for editing. 

STEPS TO REPRODUCE
1. Install kate with snap UI
2. Attempt to access .local or .config
3. 

OBSERVED RESULT
Will get message not permitted. 

EXPECTED RESULT
=================
Should allow opening and dot folder or dot file without restriction in home.
Also should allow access to other parts as usual permissions (e.g. prompting
for passwords where required)

SOFTWARE/OS VERSIONS
=====================
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-48-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 15.6 GiB of RAM

ADDITIONAL INFORMATION
=========================
Installed Kate via Snap UI app.

Kate snap prevents editing  files outside of /home/user/  as well as dot files
in /home/user/
According to Snap support, the package should install as  --classic since this
is an IDE. I am forced to install it from command line with the --devmode
option so it works properly.

~$ snap list | grep -i kate
kate                             20.04.0                     64   
latest/stable    kde*          

I get two Kate applications showing in the KDE Menu. Here are the executable
properties of each one.

env
BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/kate_kate.desktop
/snap/bin/kate -b %U
env
BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/kate_org.kde.kate.desktop
/snap/bin/kate -b %U

The main difference in .desktop files is some languages and the Icon=
attribute. But why 2 different ones?

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

Reply via email to