Windows Shell Extension for Krita Files

guru guru guruguru.sp at outlook.jp
Wed Mar 2 02:25:22 UTC 2016


Hi Alvin,


I think I just used the pre-built libs.

It was like: opening the solution->change the configuration to Release->Build->No error!Lovely!

So having the pre-built libs was indeed convenient.

guruguru

________________________________
From: kimageshop <kimageshop-bounces at kde.org> on behalf of Alvin Wong <alvinhochun+krita at gmail.com>
Sent: Tuesday, March 1, 2016 3:06 PM
To: Krita's developers and users mailing list
Subject: Re: Windows Shell Extension for Krita Files

Hi Dmitry,

Thanks! I will ask Boudewijn some time later.

Regarding your three notes/questions:

1) In your github repository I see three precompiled binary libraries. Is it possible to embed their sources? krita.git will not be able to accept them without sources. (I can believe that using Qt or KDE libs for the previewer might be not desirable from the performance pov)

Well, those precompiled static libraries are there just for convenience since I haven't set up any build scripts to streamline the full compilation process. I don't really want to embed their sources directly because I think they'll clutter the source tree, and also they are external libraries after all. Maybe I can use CMake and get it to download and compile them automatically, would that be fine? (I haven't really used CMake before though.) I do plan on removing the binaries after that.

Yeah I didn't use Qt and KDE for it to keep it lightweight.

2) We have a feature freeze on the 23rd of March. So it is highly desirable to make it merged before that date. It is better to limit the number of features, like make it show thumbnail only, but finish the merge by the date :)

The thumbnail provider works and I'd consider it done for now. The next part (property handler) is ongoing but I may pause it and focus on adding CMake Makefiles and getting it merged into Krita's source tree.

3) We have a strings freeze on the 30th of March. Starting with that date our translators team starts translating the GUI. So if the extension has its own strings (has it?), it is preferably to get it localized before the date.

There really aren't any strings important enough to have to be translated, after all it doesn't output any text to users directly. If I am adding more custom properties then they would probably be worth translating, but I don't think that will happen soon since they seem troublesome to implement.

Hope these answer your concerns!

By the way, thanks guruguru for testing it on Win10 x64! May I ask if you compiled the libraries yourself or did you just use the prebuilt libs?

Cheers,

Alvin Wong


2016-03-01 21:07 GMT+08:00 Dmitry Kazakov <dimula73 at gmail.com<mailto:dimula73 at gmail.com>>:
Hi, Alvin!

Thank you for your work! :) We will surely try to embed it into Krita 3.0.

You should talk about it to Boudewijn Rempt. He knows everything about release packaging. But he is returning from his vacation on 3rd-5th of March.

I have only three notes/questions:

1) In your github repository I see three precompiled binary libraries. Is it possible to embed their sources? krita.git will not be able to accept them without sources. (I can believe that using Qt or KDE libs for the previewer might be not desirable from the performance pov)

2) We have a feature freeze on the 23rd of March. So it is highly desirable to make it merged before that date. It is better to limit the number of features, like make it show thumbnail only, but finish the merge by the date :)

3) We have a strings freeze on the 30th of March. Starting with that date our translators team starts translating the GUI. So if the extension has its own strings (has it?), it is preferably to get it localized before the date.


On Mon, Feb 29, 2016 at 6:53 PM, Alvin Wong <alvinhochun+krita at gmail.com<mailto:alvinhochun+krita at gmail.com>> wrote:
Hi all,

I am making a Windows Explorer shell extension for Krita files, which
I hope would eventually be good enough to be included in the Krita for
Windows installer starting from 3.x releases.

For those who are not familiar with Windows (and actually, I'm not
really,) shell extensions provides various information that the shell
(aka Explorer) and other progams can use to present to users. Typical
examples include: file thumbnails, previews, metadata (properties),
dynamically-selected file icons, context menus.

In the shell extension that I am working on, I plan to include support
for at least (but not limited to) file thumbnails, properties and
icons. Here I'll try to list out what they could do:

- File thumbnails: Providing thumbnails for Krita files, obviously.
- Properties: Information like image dimensions and colour depth can
be extracted from the file for Explorer to display them in file
tooltip (InfoTip), the preview details pane, as a column in details
view, and so on. It could also possibly be used by Windows Search,
although I haven't investigated this yet.
- Icons: It could provide different icons with a badge representing
different colour depths, or whether a file has animations in it, for
example.

I already have one with a working thumbnail provider. You can check it
here: https://github.com/alvinhochun/KritaShellExtension  I've only
tested it on my only Windows 7 64-bit environment by the way, so any
testing on any other systems would be appreciated.

I'll be looking forward to your comments!

All the best,

Alvin Wong
_______________________________________________
Krita mailing list
kimageshop at kde.org<mailto:kimageshop at kde.org>
https://mail.kde.org/mailman/listinfo/kimageshop



--
Dmitry Kazakov

_______________________________________________
Krita mailing list
kimageshop at kde.org<mailto:kimageshop at kde.org>
https://mail.kde.org/mailman/listinfo/kimageshop


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20160302/26612177/attachment.html>


More information about the kimageshop mailing list