Manuscript (Case [Issue]22747) Nautilus - Bounds for Nautilus Plugins are not computed correctly

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22747) Nautilus - Bounds for Nautilus Plugins are not computed correctly

Pharo Issue Tracker
Manuscript Notification
avatar
Nicolás Papagna Maldonado revised a previous entry on Case 22747: Bounds for Nautilus Plugins are not computed correctly:
Bug in Project:  Nautilus: 1. Pharo Image  •  You are subscribed to this case
Hi everyone! I've just found this issue while playing around with Nautilus Plugins.

Pharo Version

Pharo 6.0
Latest update: #60546

Steps to reproduce
(single plugin bug)


Create a dummy Nautilus plugin: Inherit from AbstractNautilusPlugin, implement #registerTo: blank, and implement #display to return, say, a blue rectangle:
display

    ^ PanelMorph new
        borderWidth: 5;
        borderColor: Color blue;
        hResizing: #spaceFill;
        yourself



Add only one instance of this plugin on the #top using the Nautilus Plugin Manager, accesible through the "down arrow menu" (top right corner in a Browser window). Notice that the same behaviour is reproduced in the other positions as well: #middle and #bottom.



Click OK.



Open a new Browser



Expected Behavior

Plugin should be rendered on the top, with content following them (not overlapping).

Actual Behavior

Top position: Notice the Scoped/Variable buttons, and the History Navigator, hidden behind the plugin morph, which is not displayed correctly (blue rectangle is not visible).

(Same behavior is reproduced for only one plugin instance in the #middle and #bottom positions as well)


Steps to reproduce (multiple plugins bug)



Create a dummy Nautilus plugin: Inherit from AbstractNautilusPlugin, implement #registerTo: blank, and implement #display to return, say, a blue rectangle:
display

    ^ PanelMorph new
        borderWidth: 5;
        borderColor: Color blue;
        hResizing: #spaceFill;
        yourself



Add 3 instances of this plugin on the #top using the Nautilus Plugin Manager, accesible through the "down arrow menu" (top right corner in a Browser window). Notice that the same behaviour is reproduced in the other positions as well: #middle and #bottom.



Click OK.



Open a new Browser



Expected Behavior

Plugins should be rendered on the top, with content following them (not overlapping).

Actual Behavior

Rendered plugins are not "pushing down" the browser's content, and they intead overlap with the rest of the window.

Top position: Notice the Scoped/Variable buttons, and the History Navigator, hidden behind the rectangles:


Middle position: notice the code pane is hidden behind the rectangles


Bottom position: notice the rectangles extend beyond the window, only the first one is visible:
Priority Priority: 5 – Fix If Time Status Status: Working On
Assigned To Assigned to: Nicolás Papagna Maldonado Milestone Milestone: Pharo6.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker