<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Package: mypaint</p>
<p>Version: 1.2.0-3</p>
<p>Severity: important<span style="color: rgb(0, 0, 0); font-family:
monospace; font-size: 13px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: bold; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;"></span></p>
<p>With GTK 3.22.4 from Debian testing pressing F11 to fullscreen
MyPaint makes the canvas area disappear. Pressing a key in this
state results in an assertion error about the active TDW being
null.</p>
<p>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</p>
<h4 style="box-sizing: border-box; margin-top: 24px; margin-bottom:
16px; font-size: 14px; font-weight: 600; line-height: 1.25; color:
rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", Helvetica, Arial, sans-serif, "Apple
Color Emoji", "Segoe UI Emoji", "Segoe UI
Symbol"; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">Steps to reproduce</h4>
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom:
16px; color: rgb(51, 51, 51); font-family: -apple-system,
BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">This is reproducible with
either a fresh config or an existing one.</p>
<ol style="box-sizing: border-box; padding-left: 2em; margin-top:
0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI",
Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<li style="box-sizing: border-box; margin-left: 0px;">Start
MyPaint</li>
<li style="box-sizing: border-box; margin-top: 0.25em;
margin-left: 0px;">Press F11, mypaint goes full-screen. Canvas
area disappears, widgets are drawn with the default theme
colour.</li>
<li style="box-sizing: border-box; margin-top: 0.25em;
margin-left: 0px;">Press a key such as space. The following
assertion pops up from the keyboard handler:</li>
</ol>
<p>Traceback:</p>
<p>```python<br>
Mypaint version: 1.2.0+gitexport.f62444e<br>
System information:
Linux-4.8.0-1-amd64-x86_64-with-debian-stretch-sid<br>
Traceback (most recent call last):<br>
File "/usr/share/mypaint/gui/keyboard.py", line 153,
_key_press_cb(self=<gui.keyboard.KeyboardManager instance>,
widget=<drawwindow.DrawWindow object at 0x7f782a509410
(MyPaintDrawWindow at 0x5581c7542280)>, event=<Gdk.EventKey
object at 0x7f7821a3a050 (void at 0x5581c89a93c0)>)<br>
# Otherwise, dispatch the event to the active doc.<br>
return self._dispatch_fallthru_key_press_event(widget,
event)<br>
variables: {'self._dispatch_fallthru_key_press_event': ('local',
<bound method
KeyboardManager._dispatch_fallthru_key_press_event of
<gui.keyboard.KeyboardManager instance at
0x7f782a504fc8>>), 'widget': ('local',
<drawwindow.DrawWindow object at 0x7f782a509410
(MyPaintDrawWindow at 0x5581c7542280)>), 'event': ('local',
<Gdk.EventKey object at 0x7f7821a3a050 (void at
0x5581c89a93c0)>)}<br>
File "/usr/share/mypaint/gui/keyboard.py", line 230,
_dispatch_fallthru_key_press_event(self=<gui.keyboard.KeyboardManager
instance>, win=<drawwindow.DrawWindow object at
0x7f782a509410 (MyPaintDrawWindow at 0x5581c7542280)>,
event=<Gdk.EventKey object at 0x7f7821a3a050 (void at
0x5581c89a93c0)>)<br>
# Fall-through behavior: handle via the active
document.<br>
target_doc, target_tdw = self._get_active_doc()<br>
if target_doc is None:<br>
variables: {'self._get_active_doc': ('local', <bound method
KeyboardManager._get_active_doc of
<gui.keyboard.KeyboardManager instance at
0x7f782a504fc8>>), 'target_doc': (None, []), 'target_tdw':
(None, [])}<br>
File "/usr/share/mypaint/gui/keyboard.py", line 222,
_get_active_doc(self=<gui.keyboard.KeyboardManager
instance>)<br>
# event dispatch.<br>
active_tdw =
gui.tileddrawwidget.TiledDrawWidget.get_active_tdw()<br>
for doc in gui.document.Document.get_instances():<br>
variables: {'active_tdw': (None, []),
'gui.tileddrawwidget.TiledDrawWidget.get_active_tdw': ('global',
<bound method GObjectMeta.get_active_tdw of <class
'gui.tileddrawwidget.TiledDrawWidget'>>)}<br>
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 75,
get_active_tdw(kin=<class
'gui.tileddrawwidget.TiledDrawWidget'>)<br>
kin.__tdw_refs.extend(invis_refs)<br>
assert active_tdw is not None<br>
return active_tdw<br>
variables: {'active_tdw': ('local', None), 'None': ('builtin',
None)}<br>
AssertionError: <br>
</p>
<p>Upstream bug <a class="moz-txt-link-freetext" href="https://github.com/mypaint/mypaint/issues/735">https://github.com/mypaint/mypaint/issues/735</a></p>
<p>Fixed in
<a class="moz-txt-link-freetext" href="https://github.com/mypaint/mypaint/releases/tag/v1.2.1-beta.1">https://github.com/mypaint/mypaint/releases/tag/v1.2.1-beta.1</a><br>
</p>
<p>-- System Information:<br>
Debian Release: stretch/sid<br>
APT prefers testing<br>
APT policy: (500, 'testing')<br>
Architecture: amd64 (x86_64)<br>
Foreign Architectures: i386<br>
<br>
Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores)<br>
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /usr/bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages mypaint depends on:<br>
ii gir1.2-gtk-3.0 3.22.4-1<br>
ii libatk1.0-0 2.22.0-1<br>
ii libc6 2.24-7<br>
ii libcairo-gobject2 1.14.6-1.1<br>
ii libcairo2 1.14.6-1.1<br>
ii libgcc1 1:6.2.1-5<br>
ii libgdk-pixbuf2.0-0 2.36.0-1<br>
ii libglib2.0-0 2.50.2-2<br>
ii libgomp1 6.2.1-5<br>
ii libgtk-3-0 3.22.4-1<br>
ii libjson-c3 0.12.1-1.1<br>
ii liblcms2-2 2.7-1<br>
ii libpango-1.0-0 1.40.3-3<br>
ii libpangocairo-1.0-0 1.40.3-3<br>
ii libpng16-16 1.6.26-2<br>
ii libpython2.7 2.7.13~rc1-1<br>
ii libstdc++6 6.2.1-5<br>
ii mypaint-data 1.2.0-3<br>
ii python-gi-cairo 3.22.0-1<br>
ii python-numpy 1:1.11.2-1<br>
pn python2.7:any <none><br>
pn python:any <none><br>
<br>
Versions of packages mypaint recommends:<br>
ii shared-mime-info 1.7-1<br>
<br>
Versions of packages mypaint suggests:<br>
pn mypaint-data-extras <none><br>
<br>
-- no debconf information<br>
<br>
</p>
</body>
</html>