Hi David
 The underlying  difficulty, widget names are any string: python names are 
restricted, was originally covered by some  tools

logging of methods like "on_widget_signal" that were not automatically connected
an alias decorator that accepted  any string and could be a target for 
automatic connection

However a later change to quickly hid the logging messages from the 
project_lib/Builder.py module.
If you want to see them you can use quickly run -vv

There was much discussion at the time between two approaches
automatically mangle glade names like ( "filechooserbutton1", "file-set" ) into 
python names like "on_filechooserbutton1_file_set"
inform quickly user (you) of the discrepancy using logging, if you turn on 
logging.

A choice was made to use logging because otherwise the user (you) would need to 
hold the mangling algorithm in your head
e.g. replace any of [".",  ",", ", "-", "á", "é"] etc. by "_"

The blacklist approach (don't use "-") you suggest would be better as a
whitelist (if the character is not allowed in a python name change it)

A counter proposal for a bug fix is
Default to have logging turned on for quickly run
turn on logging for quickly supplied boilerplate modules as well as user 
supplied modules

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890318

Title:
  Signal autoconnect does not work with signal names which contain
  hypens

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/890318/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to