URL:
  <http://gna.org/bugs/?15175>

                 Summary: [Windows] Fullscreen failed if canvas already
maximized
                 Project: MyPaint
            Submitted by: tumagonx
            Submitted on: Thursday 01/21/2010 at 11:43
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.8
         Planned Release: None
        Operating System: Windows XP

    _______________________________________________________

Details:

If canvas maximized, F11 didn't work at all (just hiding menubar)

The cause of this glitch is self.menubar.hide()/show() in drawwindow.py:
    def fullscreen_cb(self, *trash):
        # note: there is some ugly flickering when toggling fullscreen
        #       self.window.begin_paint/end_paint does not help against it
        self.fullscreen = not self.fullscreen
        if self.fullscreen:
            x, y = self.get_position()
            w, h = self.get_size()
            self.geometry_before_fullscreen = (x, y, w, h)
            self.menubar.hide()
            self.window.fullscreen()
            #self.tdw.set_scroll_at_edges(True)
        else:
            self.window.unfullscreen()
            self.menubar.show()
            #self.tdw.set_scroll_at_edges(False)
            del self.geometry_before_fullscreen

Also, this cause MyPaint failed to cover Windows taskbar in FullScreen mode

If I comment that self.menubar.hide()/show() it will works perfectly (like
GIMP which also doesn't hide menubar in FS)

Since this is just a minor problem, I think put a condition would be better
for Win32.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15175>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to