Bug 475185 - Image Overlays doesn't recognise jpg
Summary: Image Overlays doesn't recognise jpg
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.6.7
Platform: Other macOS
: NOR minor
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-03 17:23 UTC by Jean-Claude
Modified: 2023-10-04 15:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-2743387-0.html (982 bytes, text/html)
2023-10-04 05:14 UTC, Jean-Claude
Details
attachment-2743387-1.html (638 bytes, text/html)
2023-10-04 05:14 UTC, Jean-Claude
Details
attachment-2743387-2.html (709 bytes, text/html)
2023-10-04 05:14 UTC, Jean-Claude
Details
attachment-2743387-3.html (4.68 KB, text/html)
2023-10-04 05:14 UTC, Jean-Claude
Details
Screenshot 2023-10-04 at 06.49.02.pdf (364.63 KB, application/pdf)
2023-10-04 05:14 UTC, Jean-Claude
Details
Screenshot 2023-10-04 at 06.51.05.pdf (72.89 KB, application/pdf)
2023-10-04 05:14 UTC, Jean-Claude
Details
Screenshot 2023-10-04 at 06.51.15.pdf (366.55 KB, application/pdf)
2023-10-04 05:14 UTC, Jean-Claude
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude 2023-10-03 17:23:49 UTC
SUMMARY
***
Image Overlays doesn't recognise jpg or jpeg images
***


STEPS TO REPRODUCE
1. Put a jpg in the ImageOverlays folder (in my case 1000x668 px)
2. 
3. 

OBSERVED RESULT
In the Image Overlays dialog no image appears.
I tried to change the prefix .jpg to .jpeg to no avail

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Hy 2023-10-03 21:07:04 UTC
Jean-Claude: I do this all the time, so don't know how to reproduce the issue you're seeing. There is no attachment, so I assume you mean "any jpg" as opposed to one particular jpg file. 

I can guess at two possible explanations
1) Perhaps you started KStars, then added the jpg and then opened the dialog and didn't see the jpg in the table? In that scenario, you would not see it because KStars doesn't continually search for jpgs, but if you restarted KStars you should then see it. Alternatively, you could click the refresh button (to the right of the "Overlay Directory" button) which would cause it to re-search the directory.
2) Although the files are presented alphabetically in the table, new files (e.g. after the "refresh" button is clicked) are placed at the end of the table. Look there to see if your file is in the table.

Hy
Comment 2 Jean-Claude 2023-10-04 05:14:00 UTC
Created attachment 162071 [details]
attachment-2743387-0.html

Hello Hy and thanks for the reply,

I confirm my bug report . I’ll give more explanations + screenshots.
I followed the indications found in https://knro.blogspot.com/2023/10/kstars-v367-is-released.html <https://knro.blogspot.com/2023/10/kstars-v367-is-released.html>

1/ Before starting KStars I added a small .jpeg size 141 KB (1000x648 px) in a folder imageOverlays found in the kstars folder.
The path of this folder is /Users/JCJ/Library/Application Support/kstars/imageOverlays





2/ I started KStars. On macOS, you should go to the menu KStars > Preferences... to open a dialog named Configure (by the way this dialog should be also named Preferences).




3/ In the dlg Configure I selected Image Overlays



4/ As you can see : 0 image files located

I hope this helps !
__________
Jean-Claude





> On 3 Oct 2023, at 23:07, Hy <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=475185
> 
> Hy <hymur67@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |hymur67@gmail.com
> 
> --- Comment #1 from Hy <hymur67@gmail.com> ---
> Jean-Claude: I do this all the time, so don't know how to reproduce the issue
> you're seeing. There is no attachment, so I assume you mean "any jpg" as
> opposed to one particular jpg file. 
> 
> I can guess at two possible explanations
> 1) Perhaps you started KStars, then added the jpg and then opened the dialog
> and didn't see the jpg in the table? In that scenario, you would not see it
> because KStars doesn't continually search for jpgs, but if you restarted KStars
> you should then see it. Alternatively, you could click the refresh button (to
> the right of the "Overlay Directory" button) which would cause it to re-search
> the directory.
> 2) Although the files are presented alphabetically in the table, new files
> (e.g. after the "refresh" button is clicked) are placed at the end of the
> table. Look there to see if your file is in the table.
> 
> Hy
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162072 [details]
attachment-2743387-1.html
Comment 4 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162073 [details]
attachment-2743387-2.html
Comment 5 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162074 [details]
attachment-2743387-3.html
Comment 6 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162075 [details]
Screenshot 2023-10-04 at 06.49.02.pdf
Comment 7 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162076 [details]
Screenshot 2023-10-04 at 06.51.05.pdf
Comment 8 Jean-Claude 2023-10-04 05:14:01 UTC
Created attachment 162077 [details]
Screenshot 2023-10-04 at 06.51.15.pdf
Comment 9 Hy 2023-10-04 15:58:11 UTC
Jean-Claude sent an email explaining the issue:
```
Good evening Hy,
I just found the cause of the “bug” : the name of the jpeg file contained a “.” : "M 31 mosaic2x2 Star red."  !!!
Sorry about that !
```
Closing.