bugMyPaint - Bugs: bug #20966, An error is shown when clicking on...

 
 
Show feedback again

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

bug #20966: An error is shown when clicking on MyPaint window with Alt key pressed

Submitted by:  Juan Luis Boya <ntrrgc>
Submitted on:  Sun 14 Jul 2013 03:46:39 AM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.1.0Planned Release: None
Operating System: Linux (X11)

Mon 23 Jun 2014 09:57:52 PM UTC, comment #3:

[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 Administrator
Tue 06 Aug 2013 04:14:01 AM UTC, comment #2:

Fixed on master.

Juan Luis Boya <ntrrgc>
Mon 05 Aug 2013 12:41:45 AM UTC, comment #1:

Hi - I can't reproduce this as described. could you try this again with the latest git master, and let us know if the problem has been fixed? Many thanks.

Andrew Chadwick <achadwick>
Project Administrator
Sun 14 Jul 2013 03:46:39 AM UTC, original submission:

Traceback (most recent call last):
File "/usr/share/mypaint/gui/document.py", line 76, button_press_cb(self=<gui.document.Document object>, tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>, event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>)
"""
result = self.modes.top.button_press_cb(tdw, event)
self.__update_last_event_info(tdw, event)
variables: {'event': ('local', <gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>), 'tdw': ('local', <TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>), 'result': (None, []), 'self.modes.top.button_press_cb': ('local', <bound method SwitchableFreehandMode.button_press_cb of <gui.canvasevent.SwitchableFreehandMode object at 0x2215e90>>)}
File "/usr/share/mypaint/gui/canvasevent.py", line 580, button_press_cb(self=<gui.canvasevent.SwitchableFreehandMode object>, tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>, event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>)
if action_name is not None:
return self._dispatch_named_action(None, tdw, event, action_name)
variables: {'None': ('builtin', None), 'action_name': ('local', u'ColorPickMode'), 'tdw': ('local', <TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>), 'event': ('local', <gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>), 'self._dispatch_named_action': ('local', <bound method SwitchableFreehandMode._dispatch_named_action of <gui.canvasevent.SwitchableFreehandMode object at 0x2215e90>>)}
File "/usr/share/mypaint/gui/canvasevent.py", line 647, _dispatch_named_action(self=<gui.canvasevent.SwitchableFreehandMode object>, win=None, tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>, event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>, action_name=u'ColorPickMode')
else:
return mode.button_press_cb(tdw, event)
elif handler_type == 'popup_state':
variables: {'tdw': ('local', <TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>), 'event': ('local', <gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>), 'mode.button_press_cb': ('local', <bound method ColorPickMode.button_press_cb of <gui.colorpicker.ColorPickMode object at 0x25a0a90>>)}
File "/usr/share/mypaint/gui/colorpicker.py", line 72, button_press_cb(self=<gui.colorpicker.ColorPickMode object>, tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>, event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>)
self._button_press_seen = True
self.doc.app.pick_color_at_pointer(self.doc.tdw, self.PICK_SIZE)
return super(ColorPickMode, self).button_press_cb(tdw, event)
AttributeError: 'NoneType' object has no attribute 'app'

Juan Luis Boya <ntrrgc>

 

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 ntrrgc (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Jun 2014 09:57:52 PM UTCachadwickOpen/ClosedOpen=>Closed
    Tue 06 Aug 2013 09:12:26 AM UTCachadwickStatusNeed Info=>Fixed
    Mon 05 Aug 2013 12:41:45 AM UTCachadwickStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup