Le 11/05/2014 23:44, Steve Dougherty a écrit :
> On 05/11/2014 02:28 PM, Rom. wrote:
> > Hi Steve,
>
> > Following your message in the thread "Windows InnoSetup Installer"
> > about your C# port of the FreenetTray, i have tested it.
>
> > Menu items work but i can not see them + a little Form1 window
> > appears. https://lut.im/PWY8TD7K/Yztzh9e6
>
> Odd. These screenshots are very helpful when you point out problems.
> :) I assume the lack of text is either English not being marked as the
> default / fallback language or the "en" directory with the dll not
> being in the same directory as the executable. That is:
>
> FreenetTray.exe
> en/whatever-its-called.dll
I confirm that i put correctly the .dll in the sub-folder "en". But I
agree it's can be a problem with the fallback language.
>
> I'm surprised that the window shows up though, because it's set to be
> hidden. Maybe I set hidden in the English version but not the default?
> I will definitely start testing in different locales - that's
> remarkably fragile. Does it behave differently if you set your locale
> to English?
I can't switch the locale on my current system. But i will try in a VM.
>
> > Another thing, when i click on the first item (openFreenetMenuItem
> > according to your code), it opens IE (in private mode). But IE
> > isn't my default browser (which is Firefox).
>
> That partially makes sense, because it goes through the browsers in
> order of Chrome, Firefox, Opera, IE. [0] If it doesn't find those it
> falls back to the default browser, which isn't preferable because it
> won't be in private browsing mode. I realize that one can count on IE
> being installed on Windows, so I don't know if the system URL call
> makes sense. That is, unless we plan on having this run on OSes with
> IE below 8, which introduced InPrivate mode.
>
> It does mean that the Firefox finder [1][2] failed to find your
> Firefox installation. Where in the registry are your Firefox version keys?
I forgot to mention that i'm not in a conventional case. As i use
portables applications, my firefox isn't installed and therefore not
visible in the registry.
(At least under the keys used by your detection). Another way to find
the current default browser is to find the program associated with
'http' (HKEY_CLASSES_ROOT\HTTP\shell\open\command). But don't bother you
for that special case, i will try to see if i can find a solution to
implement this.
>
> > System : Windows 7 64b  and .NET 3.5
>
> > According to your files you use Visual Studio . I only have
> > SharpDevelop 3.2 (http://www.icsharpcode.net/OpenSource/SD/). I
> > don't want to bother you but what do you think about using
> > SharpDevelop 3.2 for developing this FreenetTray ? Anyway, i will
> > take this opportunity to see if i can learn some C# base :)
>
> I'm willing to maintain SharpDevelop files alongside Visual Studio
> ones, but I don't want to commit to changing what I use without trying
> it. Something like Monodevelop that is cross-platform seems preferable
> but from what I've been able to find Monodevelop is unmaintained and a
> commercial fork of it is gaining prominance.
>
> If you'd like to open a pull request that adds SharpDevelop files I'd
> be happy to merge it.
Ok', i understand.

>
> - Steve
>
> [0]
> https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/BrowserUtil.cs#L27
> [1]
> https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs#L100
> [2]
> https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs#L12
> _______________________________________________
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>


_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to