Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
> >>   The menu item "Help->help" and pressing "F1" correctly open the help
> >> file in Firefox Nightly at
> >>   "file:///C:/Program%20Files/Geany/share/doc/geany/html/index.html"
> >
> > Not sure why this uses a different method to the other help, although
>
> It's the same method and that's part of the problem.

Oh, I hadn't though a Windowsist would have set Friedfox as the
default browser, does that mean on windows the
Preferences->Tools->Browser setting is ignored totally?

> Opening URIs works pretty fine from within Geany except they contain
> anchors.
> There is already an issue for it with all the boring details:
> https://github.com/geany/geany/issues/2405
>
>
> >> - The help file does not declare its character encoding so the 3rd
> >> non-blank line contains "Authors: Enrico Tröger".
> >>
> >
> > The 4 th line of the help file should be:
> >
> > 
> >
> > so it should open as UTF-8, maybe something went wrong in the building?
>
> Yes, the charset header is fine the broken characters are already
> wrongly written into the generated HTML. I will have a look at it.
>

I don't generate HTML docs so I can't check here, but the HTML in the
1.37.1 tarball and the nightly .deb seems to have Enrico correct (or
at least it shows correctly on both Chrome and Firefox), maybe
docutils or the browser does something silly if it runs on windows?

Doug, I'm assuming you mean the Enrico in the little Authors table at
the top of the help manual?

...

> >> - The menu item "Help->Debug Messages" opens a very small window.
> >> Opening the window with a size of relative to the main geany window,
> >> or perhaps safer, relative to the screen size would be nice. Some
>
> Agreed. Not sure whether it's worth the efforts. This dialog is usually
> not opened regularly.
> Btw, this is not Windows specific, it's the same behavior on all platforms.
>

Unless its extra small on Windows then its still usable, so agree low priority.

Cheers
Lex
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Doug Henderson
On Sun, 12 Sept 2021 at 06:13, Enrico Tröger  wrote:
>
> I think this is rather the GTK3 default theme.
> Attached are three screenshots of Geany with:
> - the default theme (I assume it's Adwaita)
> - the native "win32" theme
> - a theme from https://www.gnome-look.org/p/1013580/ called "Windows10",
> it's more compact than the default theme
>

From your screen shots, it is clear that you have the win32 and
Windows10 themes installed.

The win32 theme works, but does not look as nice as the Windows10 theme.

How do you install a GTK3 theme on Windows? The linked page only
describes the install for *nix.

Google yields a confusing number of results that are full of
alternatives for the developer, but without much guidance for the post
installation user.

Thanks,
Doug.

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
>> Some
> > messages do not have the timestamp prefix. Many debug messages have
> > the same time stamp, so adding the milliseconds value would be
> > helpful.
>
> Request a feature addition, although I think the timestamp is added by
> Glib, so we might not be able to control it.
>

And here is one Enrico prepared beforehand
https://github.com/geany/geany/pull/2659

(I have been watching too many cooking shows I think :-)

Cheers
Lex
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
On Sun, 12 Sept 2021 at 15:11, Doug Henderson  wrote:
>
> On Sat, 11 Sept 2021 at 07:08, Enrico Tröger  wrote:
> >
> > On 10.09.21 00:05, Enrico Tröger wrote:
> > > Hi,
> > >
> > > On Thu, 9 Sept 2021 at 14:05, Doug Henderson  wrote:
> > >>> Can someone suggest how to correct this snippet of code in the wiki
>
> > > On 09.09.21 06:31, Lex Trotman wrote:
> > >> Not sure who posted the wiki or how relevant it is (its a wiki after
>
> > > Anyway, to get back to Doug's question:
> > > I'm going to prepare Windows installers for the current master on the
> > > weekend and so have some 1.38 beta or preview.
> >
> > The test installers are ready:
> >
> > https://download.geany.org/snapshots/geany-1.38beta1_setup.exe
> > https://download.geany.org/snapshots/geany-plugins-1.38beta1_setup.exe
>
> > Regards,
> > Enrico
>
> Thanks. I downloaded and installed both of these. So far they have
> worked flawlessly, although I have not done much actual work, instead,
> just re-exploring the interface and preferences.
> I have a few observations, questions and suggestions.
>
> - the slow project loading of 1.37.1 is corrected.
>
> - the visual style of scrollbars on the edit window is different. The
> scrollbars are now about half the width as formerly. The previous
> scrollbars were about twice as wide, making it much easier to grab the
> thumb. The Win10 style is a narrow scrollbar that gets wider when you
> hover over them. Is it possible to have a choice, or at least an OS
> style scrollbar?

I assume you mean the scrollbars on the edit window, those are drawn
by the Scintilla editing widget Geany uses, and AFAICT its API gives
no way of setting that width.

>
> - The help button does not work on any preference page. It reports, e.g.:
>   21:16:09: Failed to open URI "C:/Program
> Files/Geany/share/doc/geany/html/index.html#various-preferences": The
> system cannot find the file specified.
>  And in the Debug Messages:
>  21:16:14: Geany WARNING: ShellExecute failed opening "C:/Program
> Files/Geany/share/doc/geany/html/index.html#various-preferences" (code
> 2): The system cannot find the file specified.

Did you check if the file exists?  Or has been installed to a
different location?

>   The menu item "Help->help" and pressing "F1" correctly open the help
> file in Firefox Nightly at
>   "file:///C:/Program%20Files/Geany/share/doc/geany/html/index.html"

Not sure why this uses a different method to the other help, although
technically the other is better as it uses the native open that will
choose the default browser without having to have the
Preferences->Tools->Browser (default "firefox" as you found) setting
configured.

>
> - The help file does not declare its character encoding so the 3rd
> non-blank line contains "Authors: Enrico Tröger".
>

The 4 th line of the help file should be:



so it should open as UTF-8, maybe something went wrong in the building?

> - The menu item "Tools->Load Tags File..." uses a non-windows style
> file search dialog.

You can make an issue for that, but probably somebody will have to
contribute the code for it.

>
> - The menu item "Help->Debug Messages" opens a very small window.
> Opening the window with a size of relative to the main geany window,
> or perhaps safer, relative to the screen size would be nice. Some
> messages do not have the timestamp prefix. Many debug messages have
> the same time stamp, so adding the milliseconds value would be
> helpful.

Request a feature addition, although I think the timestamp is added by
Glib, so we might not be able to control it.

>
> - The keybinding for entering unicode characters is documented, but
> the key combo Ctrl-Shift-u does not seem to work at all in 1.38beta1.
> The ability to enter unicode characters is almost a requirement for
> me.
>
> - Geany on Win10 can be crashed every time by opening the open file
> dialog, shift-right-click on a filename and selecting "Copy as path".

Not sure what "copy as path" is, but its not something Geany supplies
or uses, presumably its part of the native dialog, so Geany has no
control over it.

> Shortly after canceling the open file dialog, geany will crash. There
> are two entries in the Event Viewer -> Windows Logs -> Application.
> The following info from the Error entry (incomplete):
>
> Faulting application name: geany.exe, version: 1.38.0.0, time stamp: 
> 0x
> Faulting module name: libcairo-2.dll, version: 0.0.0.0, time stamp: 0x
> Exception code: 0xc005
> Fault offset: 0x00050f63
> Faulting application name: geany.exe, version: 1.38.0.0, time stamp: 
> 0x
> Faulting module name: libcairo-2.dll, version: 0.0.0.0, time stamp: 0x
> Exception code: 0xc005
> Fault offset: 0x00050f63
>
> indicates the fault occured in libcairo-2.dll. The circumstances
> suggest that the clipboard buffer for the copied file path is
> incorrectly allocated or incorrectly identified as shared public or
> some such thing, so that cairo attempts