bug clearing displays?

Bug #277368 reported by jorge
2
Affects Status Importance Assigned to Milestone
Myrtille
Confirmed
Low
NicoInattendu

Bug Description

In myrtille.py, there's this:

    def ClearDisplays(self, display) :
        """ Clear Display screens """
        if (display == myrtLib.SCREEN_BOTH) :
            #both screens to clear
            self.PreviewObj.displayDefault()
            self.PreviewObj.displayDefault()
        elif (display == myrtLib.SCREEN_CAMERA) :
            self.PreviewObj.displayDefault()
        elif (display == myrtLib.SCREEN_PREVIEW) :
            self.PreviewObj.displayDefault()

I guess some of those PreviewObj are actually CamPreviewObj.

Tags: gui myrtille

Related branches

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Yes it's confirmed, we should have somethinh like :
    def ClearDisplays(self, display) :
        """ Clear Display screens """
        if (display == myrtLib.SCREEN_BOTH) :
            #both screens to clear
            self.PreviewObj.displayDefault()
            self.CamPreviewObj.displayDefault()
        elif (display == myrtLib.SCREEN_CAMERA) :
            self.CamPreviewObj.displayDefault()
        elif (display == myrtLib.SCREEN_PREVIEW) :
            self.PreviewObj.displayDefault()

Do you was facing some display problems due to this bug ? If yes what's the behavior ?

Revision history for this message
jorge (xxopxe) wrote :

No, i just saw it in the source code while reading around. I don't know what it caused, if it did at all.

Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Problem viewed through code reading. Is this function really needed. Impacts

Changed in myrtille:
assignee: nobody → nico-inattendu
status: New → Confirmed
Revision history for this message
NicoInattendu (nico-inattendu) wrote :

Actually, thi bug can be viewed when a nother project is loaded. In the image preview area the image displayed is the image of the previous project. Not correctly refresh with a black image.

Changed in myrtille:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.