[ark] [Bug 411259] Preview opens scripts as binary files

2020-12-16 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=411259

Méven Car  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED

--- Comment #15 from Méven Car  ---
(In reply to Chris from comment #14)
> (In reply to Bug Janitor Service from comment #13)
> > 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!
> 
> Sorry about the slow response. I didn't release it has been so long. Thanks
> for the reminder email. 
> 
> Operating System: Slackware64-current
> KDE Plasma Version: 5.20.4
> KDE Frameworks Version: 5.77.0
> Qt Version: 5.15.2
> Kernel Version: 5.4.83
> OS Type: 64-bit
> Processors: 4 × AMD Phenom(tm) II X4 840 Processor
> Memory: 7.8 GiB of RAM
> Graphics Processor: GeForce GT 730/PCIe/SSE2
> 
> Ark Version 20.12.0
> 
> I have tried opening (Preview) several bash scripts in various archive from
> Ark. All are now acting correctly, opening (Preview) Kate instead of a
> binary viewer. 
> 
> It appears somewhere along the way this issue has been fixed. As you can see
> from my version list above, compared to my last post. There have been many
> upgrades. So as far as I am concerned the issue is been resolved.
> 

I am very glad.

> If two people cannot reproduce, it probably is due to a state / particular 
> setting on your system.

Given how behind your versions were, we could have just considered the bug as
fixed because non-reproducible by two other people.

> 
> 
> Again sorry for the late input on this. Also thanks for keeping up on this,
> I had pretty much given up with this being resolved.

Thanks for keeping us posted, no worries.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-12-16 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

Chris  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-12-16 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #14 from Chris  ---
(In reply to Bug Janitor Service from comment #13)
> 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!

Sorry about the slow response. I didn't release it has been so long. Thanks for
the reminder email. 

Operating System: Slackware64-current
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.4.83
OS Type: 64-bit
Processors: 4 × AMD Phenom(tm) II X4 840 Processor
Memory: 7.8 GiB of RAM
Graphics Processor: GeForce GT 730/PCIe/SSE2

Ark Version 20.12.0

I have tried opening (Preview) several bash scripts in various archive from
Ark. All are now acting correctly, opening (Preview) Kate instead of a binary
viewer. 

It appears somewhere along the way this issue has been fixed. As you can see
from my version list above, compared to my last post. There have been many
upgrades. So as far as I am conserned the issue is been resolved.



Again sorry for the late input on this. Also thanks for keeping up on this, I
had pretty much given up with this being resolved.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-12-15 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #13 from Bug Janitor Service  ---
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!

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-12-01 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=411259

Justin Zobel  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||justin.zo...@gmail.com
 Status|REPORTED|NEEDSINFO

--- Comment #12 from Justin Zobel  ---
Please provide a sample file where this occurs. That way we can ensure we are
testing with the same set of data.

I've set the bug status to "needsinfo" pending your response, please change
back to "reported" or "resolved" when you respond, thanks.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-06-30 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #11 from Chris  ---
(In reply to Méven Car from comment #10)
> That or the file association or definition for bash files is not set up
> properly on your system.
> 
It is setup properly. Opening bash scripts works as expected except with Ark's
Preview option. If I select Open, Kate is opened as it should be.

> > 
> > I am open to suggestions on where to look, it could very well be in setting
> > somewhere. This has worked properly in the past. I do a lot of work with Ark
> > and source scripts, opening and reading files so this issue is very
> > annoying. Thanks.
> 
> Try checking the mime type file association with text bash files
> (x-shellscript).
> And system's "x-shellscript" MIME definition :
> "grep x-shellscript /usr/share/mime/packages/*"
> 
> On my system I get:
> /usr/share/mime/packages/freedesktop.org.xml: type="application/x-shellscript"/>
> /usr/share/mime/packages/freedesktop.org.xml:   type="application/x-shellscript">

Thanks for the help. I get the same results on my system.

root@racermach:~# grep x-shellscript /usr/share/mime/packages/*
/usr/share/mime/packages/freedesktop.org.xml:
/usr/share/mime/packages/freedesktop.org.xml:  

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-06-29 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #10 from Méven Car  ---
(In reply to Chris from comment #9)
> Well this problem still exist for me. When using preview it opens as a
> binary. When selecting open, it opens correctly.
> 
> (In reply to Méven Car from comment #8)
> > If two people cannot reproduce, it probably is due to a state / particular
> > setting on your system.
> > 
> > My guess would be that somehow ark does not get the mimetype for those files
> > (the binary viewer is used to open application/octet-stream mimetype which
> > is the default one).
>  In settings File Associations application/octet-stream there in nothing set
> under. 

That does not matter.

The issue is that the mimetype resolution for file preview fails for scripts
and returns default application/octet-stream which is opened with a binary
editor.
That or the file association or definition for bash files is not set up
properly on your system.

> 
> I am open to suggestions on where to look, it could very well be in setting
> somewhere. This has worked properly in the past. I do a lot of work with Ark
> and source scripts, opening and reading files so this issue is very
> annoying. Thanks.

Try checking the mime type file association with text bash files
(x-shellscript).
And system's "x-shellscript" MIME definition :
"grep x-shellscript /usr/share/mime/packages/*"

On my system I get:
/usr/share/mime/packages/freedesktop.org.xml:
/usr/share/mime/packages/freedesktop.org.xml:  

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-06-29 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #9 from Chris  ---
Well this problem still exist for me. When using preview it opens as a binary.
When selecting open, it opens correctly.

(In reply to Méven Car from comment #8)
> If two people cannot reproduce, it probably is due to a state / particular
> setting on your system.
> 
> My guess would be that somehow ark does not get the mimetype for those files
> (the binary viewer is used to open application/octet-stream mimetype which
> is the default one).
 In settings File Associations application/octet-stream there in nothing set
under. 

I am open to suggestions on where to look, it could very well be in setting
somewhere. This has worked properly in the past. I do a lot of work with Ark
and source scripts, opening and reading files so this issue is very annoying.
Thanks.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-04-27 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=411259

Méven Car  changed:

   What|Removed |Added

 CC||meven@enioka.com

--- Comment #8 from Méven Car  ---
If two people cannot reproduce, it probably is due to a state / particular
setting on your system.

My guess would be that somehow ark does not get the mimetype for those files
(the binary viewer is used to open application/octet-stream mimetype which is
the default one).

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-04-27 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #7 from Chris  ---
(In reply to Christoph Feck from comment #6)
> Cannot reproduce either with a sample tar.gz that contains an executable
> bash script, even if it is marked +x and called *.sh. It is opened KWrite
> (my configured text viewer).

When I open a tarball that has a bash script in it. It does not what the
extension is. Example using the latest claws-mail-3.17.5.tar.xz found from
their download site. The tarball has a autogen.sh and a configure in the root
of the tarball. Opening either of those files results in Ark opening them as a
binary file. It does not matter if the file is executable or not. I have tested
both same result. It's quite possible that something is keying in on the
shebang "#!". There was a point in the past where bash scripts were opened
properly as a text preview. For example opening claws-features.h is the same
tarball opens as preview text. I frequently open source code tarballs before
compiling to review the compile scripts.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-04-15 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #6 from Christoph Feck  ---
Cannot reproduce either with a sample tar.gz that contains an executable bash
script, even if it is marked +x and called *.sh. It is opened KWrite (my
configured text viewer).

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-03-25 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #5 from Chris  ---
I this issue ever going to be fixed?

Operating System: Slackware64-current
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.13.2
Kernel Version: 5.4.27
Ark Version 19.12.3

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

[ark] [Bug 411259] Preview opens scripts as binary files

2020-01-03 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #4 from Chris  ---
Operating System: Slackware64-current
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Kernel Version: 5.4.7
Ark Version 19.12.0

This problem still exist.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2019-10-26 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=411259

--- Comment #3 from Chris  ---
(In reply to Méven Car from comment #2)
> I don't reproduce it with the file ark-19.08.0.tar.xz found at
> https://download.kde.org/stable/applications/19.08.0/src/ark-19.08.0.tar.xz
> 
> Previewing file Messages.sh inside works at expected.
> 
> Operating System: Kubuntu 19.10
> KDE Plasma Version: 5.17.80
> KDE Frameworks Version: 5.64.0
> Qt Version: 5.12.4
> 
> Does the issue still reproduce with a more recent version of KDE Frameworks
> and/or ark ?

Operating System: Slackware64-current
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 4.19.80
Ark Version: 19.08.2

I can still reproduce With the above.

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

[ark] [Bug 411259] Preview opens scripts as binary files

2019-10-23 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=411259

Méven Car  changed:

   What|Removed |Added

 CC||meve...@gmail.com

--- Comment #2 from Méven Car  ---
I don't reproduce it with the file ark-19.08.0.tar.xz found at
https://download.kde.org/stable/applications/19.08.0/src/ark-19.08.0.tar.xz

Previewing file Messages.sh inside works at expected.

Operating System: Kubuntu 19.10
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.4

Does the issue still reproduce with a more recent version of KDE Frameworks
and/or ark ?

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

[ark] [Bug 411259] Preview opens scripts as binary files

2019-08-29 Thread Todd
https://bugs.kde.org/show_bug.cgi?id=411259

Todd  changed:

   What|Removed |Added

 CC||toddrme2...@gmail.com

--- Comment #1 from Todd  ---
I can confirm the same issue with all python scripts on openSUSE Tumbleweed:

Ark Version 19.08.0
KDE Frameworks 5.61.0
Qt 5.13.0 (built against 5.13.0)

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