Icon Preview only works with the first window

Bug #169009 reported by Colin1000
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Jon A. Cruz

Bug Description

Build:
 Win32 Inkscape0710251937

Actual Behaviour

The "Icon Preview" pane will only open for the first window. If you open a
second window and access the icon preview it opens the preview pane in the
first window, not the second window. If you close the first window then the
icon preview no longer functions.

Expected Behaviour:

The icon preview pane should open in each document window.

Steps to Reproduce:

 1. Open Inkscape and draw a square (or anything)
 2. Click on "View" -> "Icon Preview..."
 3. You will see a preview pane on the right of the
    drawing area.
 4. Open a New Window via Ctrl-N (or menus) and draw
    something in that.
 5. Click on "View" -> "Icon Preview..." in the new
    window.
 6. The icon pane in the first window is updated to
    display the icon in the second window.

Furthermore

 7. Close the first window. Click on "View" -> "Icon
    Preview" in the second window.
 8. The icon preview pane does not appear.

This problem does not occur in Inkscape 0.45 as the Icon preview pane is a
pop-up window. But this behaviour appears in 0710251937 and several other
recent v0.46 versions (sorry I don't have the exact version numbers).

It seems that the Icon Preview is reusing the same window handle when the
menu option is selected. In v0.45 this worked because the window was a
popup window and thus independent of the documents that are open. In 0.46
it is embedded as a tools pane on the RHS and thus unique to each
document. The second issue - where the preview pane is not accessible when
the first window is closed - appears to be related, if the selection
handling assumes a global window, and the parent of that window is closed,
then the icon preview wouldn't be displayable.

Tags: ui

Related branches

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

Works fine for me on Linux. Can someone on Windows confirm this issue?

Changed in inkscape:
importance: Medium → Undecided
status: New → Incomplete
Revision history for this message
prkos (prkos) wrote :

it doesn't happen on Jan 11th and Jan 20th build on WinXP

Changed in inkscape:
status: Incomplete → Invalid
Revision history for this message
Yann Papouin (yann-papouin) wrote :

Can be reproduced on WinXP SP2 with 0.47pre1:

Icon preview is processus dependent, you have to create a new document in the same processus inkscape.exe, not re-launching it, to see this issue.

Changed in inkscape:
status: Invalid → Confirmed
Revision history for this message
Yann Papouin (yann-papouin) wrote :

In the following attachment, you can see that the preview is linked to the wrong document.

Icon preview is not the only "cross-document dialog", Fill and stroke captures color change in all opened documents.

Revision history for this message
Nathaniel Gray (n8gray-n8gray) wrote :

Confirmed in Mac OS X, 0.47 pre3 r22311

su_v (suv-lp)
tags: added: ui
removed: other win32
Revision history for this message
su_v (suv-lp) wrote :

no longer reproduced with Inkscape 0.47+devel r9384 on Mac OS X 10.5.8

The fix for bug #556233 in revision 9297 has solved the issues with the 'Icon Preview' dialog as well. Please reopen this bug if the error still occurs in current development builds.

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.48
status: Confirmed → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
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.