Koda

Welcome to Koda bug tracker!

At the moment you can post bugreports or suggestions anonymously. But registered users have some benefits: attaching files, commenting, voting, tracking tasks e.t.c.

Due some asshole started spamming tracker, now (at least for some time) it’s not allowed to create anonymous tasks. Sorry for unconvenience.

In edit fields you can use DokuWiki syntax for formatting.

Tasklist

FS#150 - Expand %var% variable

Attached to Project: Koda
Opened by Chris Haslam (c.haslam) - Friday, 31 December 2010, 22:34 GMT+3
Last edited by Admin (Lazycat) - Monday, 17 January 2011, 18:01 GMT+3
Type Bug Report
Category Application
Status Postponed
Assigned To No-one
Operating System Windows 2000
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

  • I ran Koda. It brought up a form I had created earlier. Expand %var% variable was unchecked
  • I created a label
  • I entered %name% is a cat in Label | Caption
  • I checked Expand %var% variable
  • I clicked on Generate Code. ⇒ $name+”is a cat”
  • I unchecked Expand %var% variable
  • I clicked on Generate Code. ⇒ $name+”is a cat” again

This seems illogical.

What is the scope of Expand %var% variable? Is it specific to the form/.kxf file, or is it application level? Is it working as intended?

This task depends upon

Comment by Admin (Lazycat) - Saturday, 01 January 2011, 18:29 GMT+3

I just tried to reproduce those steps, and I can't.

This form option (as well as other form options) is saved with current form. In the "Generating options" dialog you change current form options.

But you can have it "on" by default, if you check it in the options, on the "Code generator" page.

Comment by Chris Haslam (c.haslam) - Sunday, 02 January 2011, 03:07 GMT+3

I had assumed that these options were global.

Perhaps it would be clearer if this tab showed "Default options" and "Options for form". Or the Apply button could have the caption "Apply to current form" and have a label on this tab naming the current form.

Comment by Admin (Lazycat) - Sunday, 02 January 2011, 15:50 GMT+3

In fact, every related group in settings says it's default ("Default generator options" and "Default formatting options") and generating options dialog caption says "Current form generating options". This is not enough noticeable?

Comment by Chris Haslam (c.haslam) - Monday, 03 January 2011, 07:19 GMT+3

I just found "Current form generating options" in Tools|Generating Options. To me, options are not Tools, but I do see that it is a good idea to have them next to Generate Code in the menu structure. Perhaps the Options menu item should contain Default and Generating.

Comment by Admin (Lazycat) - Monday, 03 January 2011, 18:04 GMT+3
To me, options are not Tools, but I do see that it is a good idea to have them next to Generate Code in the menu structure.

Agree with this, probably better was to call first level menu "Generate" or "Code" instead "Tools", but now it's a bit too late.

Comment by Chris Haslam (c.haslam) - Tuesday, 04 January 2011, 00:33 GMT+3

Is late ever too late?

You could have the Generate Options appear in two places: under Tools and under Options.

Comment by Admin (Lazycat) - Monday, 17 January 2011, 18:00 GMT+3
You could have the Generate Options appear in two places: under Tools and under Options.

Sorry, but this way is even worse then other. Function should not duplicate in different menus.

I'll postpone this so far, until solution without reshaping interface come to mind :-)

Loading...