bugMyPaint - Bugs: bug #20823, Binding "Color History...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20823: Binding "Color History popup" to button3 of stylus causes exception

Submitted by:  Tuomas Kuosmanen <tigert>
Submitted on:  Fri 17 May 2013 12:27:54 PM UTC  
 
Severity: 4 - ImportantPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Andrew Chadwick <achadwick>Open/Closed: Closed
Release: 1.1.0+gitPlanned Release: None
Operating System: Linux (Fedora 19)

Mon 23 Jun 2014 09:58:05 PM UTC, comment #4:

[This is a canned response, please forgive the broken formatting: it's one of the many things Gna! unfortunately does not do well.]

This bug tracker will shortly be moving to Github. As part of this process, we are reviewing old bug reports on gna.org.

This bug was marked as Fixed long ago, but was still classified as Open. Github does not distinguish between Fixed+Open and Fixed+Closed in the
way we once did here, so this bug is now being marked Closed, and will not be migrated into the github issues tracker.

If you believe that this bug still affects the most recent git master of MyPaint (and thus the next release), please feel free to open a new
issue on Github about it. Our new issue trackers are:

https://github.com/mypaint/mypaint/issues
https://github.com/mypaint/libmypaint/issues

Andrew Chadwick <achadwick>
Project AdministratorIn charge of this item.
Fri 17 May 2013 01:17:04 PM UTC, comment #3:

Yeah, confirming, that fixed it, thanks!

Tuomas Kuosmanen <tigert>
Fri 17 May 2013 01:13:57 PM UTC, comment #2:

Should be fixed in the latest git version: https://gitorious.org/mypaint/mypaint/commit/284e2bb2af4330bad346c84f00a4f94c4eb5e6aa

Thanks for testing!

Andrew Chadwick <achadwick>
Project AdministratorIn charge of this item.
Fri 17 May 2013 12:31:01 PM UTC, comment #1:

Confirmed here. Investigating...

Andrew Chadwick <achadwick>
Project AdministratorIn charge of this item.
Fri 17 May 2013 12:27:54 PM UTC, original submission:

I tried to set my GIT mypaint to behave like 1.0 did, by having a color history popup on button3 of the stylus, as I found it nice.

However configuring this on 1.1+git causes an exception. My setup apparently uses gtk3.

----------
Traceback (most recent call last):
File "/home/tigert/Apps/share/mypaint/gui/document.py", line 77, button_press_cb(self=<gui.document.Document object>, tdw=<TiledDrawWidget object at 0x30000f0 (gui+tileddrawwidget+TiledDrawWidget at 0x2433120)>, event=<void>)
"""
result = self.modes.top.button_press_cb(tdw, event)
self.__update_last_event_info(tdw, event)
variables: {'event': ('local', <void at 0x6ffaa50>), 'tdw': ('local', <TiledDrawWidget object at 0x30000f0 (gui+tileddrawwidget+TiledDrawWidget at 0x2433120)>), 'result': (None, []), 'self.modes.top.button_press_cb': ('local', <bound method SwitchableFreehandMode.button_press_cb of <gui.canvasevent.SwitchableFreehandMode object at 0x2ffae50>>)}
File "/home/tigert/Apps/share/mypaint/gui/canvasevent.py", line 582, button_press_cb(self=<gui.canvasevent.SwitchableFreehandMode object>, tdw=<TiledDrawWidget object at 0x30000f0 (gui+tileddrawwidget+TiledDrawWidget at 0x2433120)>, event=<void>)
if action_name is not None:
return self._dispatch_named_action(None, tdw, event, action_name)
variables: {'None': ('builtin', None), 'action_name': ('local', 'ColorHistoryPopup'), 'tdw': ('local', <TiledDrawWidget object at 0x30000f0 (gui+tileddrawwidget+TiledDrawWidget at 0x2433120)>), 'event': ('local', <void at 0x6ffaa50>), 'self._dispatch_named_action': ('local', <bound method SwitchableFreehandMode._dispatch_named_action of <gui.canvasevent.SwitchableFreehandMode object at 0x2ffae50>>)}
File "/home/tigert/Apps/share/mypaint/gui/canvasevent.py", line 662, _dispatch_named_action(self=<gui.canvasevent.SwitchableFreehandMode object>, win=None, tdw=<TiledDrawWidget object at 0x30000f0 (gui+tileddrawwidget+TiledDrawWidget at 0x2433120)>, event=<void>, action_name='ColorHistoryPopup')
# Pointer: popup states handle these themselves sanely.
handler.activate(event)
return True
variables: {'handler.activate': ('local', <bound method State.activate of <gui.stategroup.State instance at 0x347b5a8>>), 'event': ('local', <void at 0x6ffaa50>)}
File "/home/tigert/Apps/share/mypaint/gui/stategroup.py", line 143, activate(self=<gui.stategroup.State instance>, action_or_event=<void>)
# register for key release events, see keyboard.py
if a.keydown:
a.keyup_callback = self.keyup_cb
AttributeError: 'EventButton' object has no attribute 'keydown'
-----------

Tuomas Kuosmanen <tigert>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by tigert (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Jun 2014 09:58:05 PM UTCachadwickOpen/ClosedOpen=>Closed
    Fri 17 May 2013 01:13:57 PM UTCachadwickStatusConfirmed=>Fixed
    Fri 17 May 2013 12:31:01 PM UTCachadwickSeverity3 - Normal=>4 - Important
      StatusNone=>Confirmed
      Assigned toNone=>achadwick
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup