Am 2006-01-23 um 21:26 schrieb Adi J. Sieker:

It starts with a popup dialog warning "no image handler for type 25 defined"; I guess that's the .ico file.
I changed icon format to a png, I hope that works now.

No error. But it needs more (i.e. an application bundle) to get a Mac app use an icon. (You don't need to do anything about that at the moment.)

Oh, are the are the menu items in all the right places?

- Quit and About are in the application menu (that's right), so...
- Help menu is empty
- File menu is also empty

Again, I'd put everything from the Notes menu to the File menu; that stuff belongs there, according to Apple's Human Interface Guidelines.
If you implement different databases, the File menu should contain:
- a submenu File:New containing New database, New note (Ctrl-N), New top note (a lot of apps order it this way) - Save (Ctrl-S), Save as (Shift-Ctrl-S) and Close (Ctrl-W) -> database (I think Save should always save the whole database, if it doesn't already)
- Delete *Note* (Ctrl-D)
(- Quit/Exit for other platforms)

I'd use Ctrl-Y or Shift-Ctrl-Z for Redo, that's more common I think.

(Ctrl becomes Cmd on the Mac automatically.)

I guess the wx.WXK_RETURN -- or rawKeyCode at all -- isn't the right thing on every platform. I remember some discussions about checking key codes on the wx mailing list...
I changed something with the search stuff. Would you please have another go.
Sorry, it still does nothing at pressing Return or Enter.
damn...
OK, this version logs all keydowns in a freeNotes.log file in the same directory as the python file.

I didn't find any dabo docs on key events (where's dabo.ui.dKeys??), and I guess there's a bug somewhere...
- evt.rawKeyCode is some 'long'
- evt.keyChar works for Return ("\r"), but not for Enter (None)
- dabo.ui.dKeys.key_Return is 13, so ord(evt.keyChar) works with Return -- not as intuitive as dabo claims to be!

But even then, the search doesn't work. I guess it should switch to the right page and highlight the found word? Ok, it seems to switch to that page, but highlights nothing, and additionally it clears the notes tree and list!
After some searches, sometimes somtehing or everything appears again.
But if I click into the list, I get:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/lib/eventMixin.py", line 87, in raiseEvent
    bindingFunction(event)
  File "freeNotes.py", line 737, in OnNoteSelected
    biz.seek(evt.noteID,DB_FIELD_ID)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/biz/dBizobj.py", line 775, in seek
    ret = self._CurrentCursor.seek(val, fld, caseSensitive, near)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/db/dCursorMixin.py", line 1120, in seek
    val = int(val)
TypeError: int() argument must be a string or a number


If the term cannot be found, I get 3 times:
'RowCount is 0, so storeFieldTypes() can't run as implemented.'


Every time i rightclick in some note (but the context menu pops up and works).
I can't duplicate this under windows. But I'll keep alook out for it.
Still the same (but I didn't yet update dabo).
Not a problem on Windows.
I'll keep in the back of my mind.

It changed (due to some changes in dabo-cvs?) to:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/ui/uiwx/dMenu.py", line 38, in __onWxMenuOpen
    if evt.GetMenu().Caption == self.Caption:
AttributeError: 'Menu' object has no attribute 'Caption'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/ui/uiwx/dMenu.py", line 47, in __onWxMenuClose
    if evt.GetMenu().Caption == self.Caption:
AttributeError: 'Menu' object has no attribute 'Caption'

And I get *only* the default text editor context menu.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
http://www.cacert.org (I'm an assurer)



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to