Why does resizing my image change the positions of the scrollbars created by the IMSCROLLPANEL function in the Image Processing Toolbox 5.0 (R14SP1) on Linux machines?

1 view (last 30 days)
When using MATLAB on a Linux machine, I use the following code to create a scrollable image:
h=imshow('boston.tif')
hp = imscrollpanel(gcf,h)
When I resize the image, I notice the positions of the scrollbars change.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There is a bug in the Image Processing Toolbox 5.0 (R14SP1) on Linux machines in the way scrollbars created with the IMSCROLLPANEL are handled incorrectly when figure windows are resized.
If you are using KDE, you can work around this problem by clearing the "Display Content in Resizing Windows" checkbox in the KDE Control Center. To do this follow these steps:
1. In KDE, open a terminal window and execute the command "kcontrol".
2. When the KDE Control Center window appears, click the "+" symbol next to the Desktop menu item to expand it.
3. Click the "Window behavior" menu item.
4. Under the "Moving" tab, clear the "Display content in resizing windows" check box.
5. Click "Apply" to apply changes.
6. Close the KDE Control Center.

More Answers (0)

Categories

Find more on Programming Utilities in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!