Bug 406815 - Can not setup Thunderbid in Send by mail
Summary: Can not setup Thunderbid in Send by mail
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 15:12 UTC by andrej.valencic
Modified: 2019-07-06 04:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0


Attachments
File select dialog (152.99 KB, image/jpeg)
2019-04-23 15:12 UTC, andrej.valencic
Details
Send by Email dialog (118.17 KB, image/jpeg)
2019-04-24 13:09 UTC, andrej.valencic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrej.valencic 2019-04-23 15:12:36 UTC
Created attachment 119592 [details]
File select dialog

SUMMARY
After upgrading from 5.9 to 6.1 can not send images by mail anymore

STEPS TO REPRODUCE
1. Select an image
2. Click Send by Mail
3. Welcome to Email Tool dialog appears
4. Click Find button for Thunderbird and open directory C:\Program Files\Mozilla Thunderbird
5. Can not find and/or choose thunderbird.exe

OBSERVED RESULT
In the dialog window one can not find the exe file for thunderbird because the Files of type is set to "thunderbird" and it is impossible to change it to exe (see attachment). Even if I manually put thunderbird.exe in the Filename field the Open button is still greyed out and not clickable. 

EXPECTED RESULT
To be able to search and select thunderbird.exe

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:  KDE Frameworks 5.56.0
Qt Version: Qt 5.12.2 (built against 5.12.2)

The windows windowing system
ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-04-23 20:15:10 UTC
Git commit 4ef06f794ba1075c20b9173acf9acbb39cd3f014 by Maik Qualmann.
Committed on 23/04/2019 at 20:14.
Pushed by mqualmann into branch 'master'.

fix compile Windows specific options

M  +1    -0    core/dplugins/generic/tools/sendbymail/wizard/mailintropage.cpp
M  +1    -0    core/libs/widgets/files/dbinaryiface.cpp

https://invent.kde.org/kde/digikam/commit/4ef06f794ba1075c20b9173acf9acbb39cd3f014
Comment 2 Maik Qualmann 2019-04-23 20:17:16 UTC
This commit is untested, with the next snapshot at https://files.kde.org/digikam/ we can test it.

Maik
Comment 3 caulier.gilles 2019-04-23 21:15:43 UTC
...and the Windows pre release installers 6.2.0 will be updated tomorrow morning...

Gilles Caulier
Comment 4 andrej.valencic 2019-04-24 08:22:38 UTC
I've tried this version: Build date: Apr 24 2019 (target: RelWithDebInfo)
Rev.: 9192a8684e98ca87185685bc55dc4fc7e12e2252

Still the same problem persists.

Regards,
Andrej
Comment 5 caulier.gilles 2019-04-24 08:27:02 UTC
This one ? 

https://files.kde.org/digikam/digiKam-6.2.0-git-20190424T092721-Win64.exe.mirrorlist

Gilles Caulier
Comment 6 andrej.valencic 2019-04-24 08:29:30 UTC
(In reply to caulier.gilles from comment #5)
> This one ? 
> 
> https://files.kde.org/digikam/digiKam-6.2.0-git-20190424T092721-Win64.exe.
> mirrorlist
> 
> Gilles Caulier

Yes
Comment 7 Maik Qualmann 2019-04-24 12:06:08 UTC
Hmm, normally in the Windows version an ".exe" should be appended to the file name. I'll watch it and when my MXE environment is rebuilt. You can also write "thunderbird.exe" in the field of the file dialog, then the executable will be displayed as well.

Maik
Comment 8 andrej.valencic 2019-04-24 13:09:00 UTC
Created attachment 119605 [details]
Send by Email dialog
Comment 9 andrej.valencic 2019-04-24 13:13:41 UTC
(In reply to Maik Qualmann from comment #7)
> Hmm, normally in the Windows version an ".exe" should be appended to the
> file name. I'll watch it and when my MXE environment is rebuilt. You can
> also write "thunderbird.exe" in the field of the file dialog, then the
> executable will be displayed as well.
> 
> Maik

I tried and write thunderbird.exe manually in the field but then can not confirm by clicking on the Open button - it's greyed-out (as seen in the first attachment)!

I also tried sending by email from Linux and also have problems. I can find and configure thunderbird as an email client but when trying to send a photo nothing happens - although in the log it says "starting thunderbird ..." (see second attahchment) it is not started and no mail is sent.

Is there any other way to configure email client manually in digiKam?
Comment 10 Maik Qualmann 2019-04-24 19:38:08 UTC
That with the "thunderbird.exe" works for sure, I tried it. The executable file is then also visible in the list view. What I noticed, however, is that Thunderbird installs itself under Windows 10 into the C:\Users\$USER$\AppData\Local\Mozilla Thunderbird and no longer under "Program Files". I'm testing Thunderbird on Linux...

Maik
Comment 11 andrej.valencic 2019-04-24 19:46:44 UTC
(In reply to Maik Qualmann from comment #10)
> That with the "thunderbird.exe" works for sure, I tried it. The executable
> file is then also visible in the list view. What I noticed, however, is that
> Thunderbird installs itself under Windows 10 into the
> C:\Users\$USER$\AppData\Local\Mozilla Thunderbird and no longer under
> "Program Files". I'm testing Thunderbird on Linux...
> 
> Maik

OK my bad, you're right - it works with "thunderbird.exe". I don't know what I did before that it wasn't visible. 

P.S. On my Win 10 machine Thunderbird is still installed in "C:\Program Files\Mozilla Thunderbird" 

Thanks,
Andrej
Comment 12 Maik Qualmann 2019-04-24 20:12:29 UTC
With my native developer version Thunderbird works under Linux. Not with the AppImage. Thunderbird launched from the AppImage aborts because of a missing library. I guess you tried the AppImage?

Maik
Comment 13 andrej.valencic 2019-04-24 20:17:04 UTC
(In reply to Maik Qualmann from comment #12)
> With my native developer version Thunderbird works under Linux. Not with the
> AppImage. Thunderbird launched from the AppImage aborts because of a missing
> library. I guess you tried the AppImage?
> 
> Maik

Yes, I use AppImage. Well, this is not very important for me - as long as it works under Windows it't OK.

Andrej
Comment 14 Maik Qualmann 2019-04-24 20:34:45 UTC
Git commit fd24aefc4bb14d2a76f1ae729040c5a48a443461 by Maik Qualmann.
Committed on 24/04/2019 at 20:33.
Pushed by mqualmann into branch 'master'.

fix append EXE extension under Windows
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +1    -1    core/libs/widgets/files/dbinaryiface.cpp

https://invent.kde.org/kde/digikam/commit/fd24aefc4bb14d2a76f1ae729040c5a48a443461
Comment 15 Maik Qualmann 2019-05-09 10:37:44 UTC
*** Bug 407357 has been marked as a duplicate of this bug. ***
Comment 16 Maik Qualmann 2019-05-15 12:14:56 UTC
*** Bug 407556 has been marked as a duplicate of this bug. ***
Comment 17 Maik Qualmann 2019-07-06 04:56:11 UTC
*** Bug 409537 has been marked as a duplicate of this bug. ***