<br><br><div class="gmail_quote">On 11 March 2010 04:53, Nick Treleaven <span dir="ltr"><<a href="mailto:nick.treleaven@btinternet.com" target="_blank">nick.treleaven@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div>On Thu, 4 Mar 2010 10:52:55 +1100<br>
Lex Trotman <<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>> wrote:<br>
<br>
</div><div>> The current trunk arrangement has one major problem though, the project<br>
> settings and the non-project settings are configured in separate dialogs,<br>
> having settings that interact in different places is very poor user<br>
> interface design (which I accept responsibility for creating).  I want to<br>
> put them in one place.<br>
<br>
</div>What about just making the 'Build->Set Build Commands' menu item show<br>
the Project Properties dialog with the Build tab displayed?<br></blockquote><div><br>I don't want to have a build tab in the project properties dialog any more since that still shows things in two places, but project  properties can have a button to show the "set build commands" dialog, then whichever way you start it, everything is shown.<br>


<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> > > 5. for execute commands only, the option to run without terminal,<br>
> > checkbox<br>
<br>
</div>I think this is OK, just squeeze in a checkbox after the working dir<br>
field. Maybe just the tooltip can explain what it's for?<br></blockquote><div><br>Ok, I was having trouble fitting it :-)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div><br>
> > > Things to not make available (to avoid "dialog shock"):<br>
> > ><br>
> > > 1. edit menu item label<br>
<br>
</div>Hopefully my button solution (see new mail) should allow this without<br>
being confusing.<br></blockquote><div><br>As I said on that one, I'm not sure, but am happy to do it if everyone thinks its a good idea. I just thought of another alternative, see second reply to other mail.<br> </div>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> > > 2. which commands are parsed and which are not<br>
> > > 3. which commands are stopable and which are not<br>
<br>
</div>agree<br>
<div><br>
> > > 4. extra commands in sections (propose simple dialog allows editing 2<br>
> > > fieltype,3 make,2 execute)<br>
<br>
</div>not sure what you mean, but I think trunk is good.<br></blockquote><div><br>Hmmm, what I was doing was leaving out the extra commands in the filetype and non-filetype sections to get back two lines, so the dialog doesn't grow too much when the three project makes are added.  Although I do most of my work on a machine with two big screens I also test on a machine with a little screen and the dialog is getting up there so lets just see what will fit.<br>


 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> > > 5. change internal command locations (next/prev error, show dialog)<br>
<br>
</div>agree<br>
<div><br>
> > > 6. project filetype commands (just so the dialog is smaller)<br>
<br>
</div>It might be worth keeping these. They're shown for the non-project<br>
dialog anyway.<br></blockquote><div><br>As above, purely for the reasons of dialog size, also note again that I don't want a project and a build menu dialog, just one dialog, sorry I wasn't clearer on this, 8. below attempts to explain why you need to see it in one place.<br>


<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> > > 7. parsing regex per command, source or global<br>
<br>
</div>Hmm, I see it would be useful/better but not sure yet. Certainly needs<br>
to be unobtrusive.<br>
<div><br>
> > > 8. viewing settings from non-editable sources ie default, system<br>
> > filetypes,<br>
> > > plugins/internal<br>
<br>
</div>Don't really understand this.<br></blockquote><div><br>The command that is executed when you activate a build menu item is determined by the highest priority source that has an operation configured for that menu item.  Sources (highest to lowest priority order) are:<br>


 <br>internal, eg a plugin, not saved by Geany<br>project filetype entries, from project file<br>project non-filetype entries, from project file<br>user filetype entries,from ~/.config/geany/filedefs/filetypes.* <br>user non-filetype entries, from ~/.config/geany/config.conf<br>


system filetype entries, that is ${prefix}/share/geany/filetypes.*<br>defaults, hard coded in geany<br><br>You can only edit project and user ones so they are the only ones shown in the dialog normally.  It is important to show both project and user at the same time since project overrides user and it can get confusing when you change a setting and have nothing happen (been there done that, even while I was just testing the trunk version!!). But since entries from the other sources can also interact, the plugin config dialog has a button to show the configuration from these sources as well (but insensitive) so that you can see if they are overriding something you are setting.  This gives the full "dialog shock" display so I proposed that the simple dialog does not have this ability.<br>


<br>Cheers<br>Lex<br><br>PS Nick, thanks for your input, its appreciated that you take the time to think about it and suggest things.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>
Regards,<br>
<font color="#888888">Nick<br>
</font><div><div></div><div>_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de" target="_blank">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</div></div></blockquote></div><br>