Erratic copy/paste in OSX 10.4 0.47pre1

Bug #396754 reported by g2010a
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
Nominated for 0.47.x by g2010a

Bug Description

When copying and pasting one of the following scenarios happens randomly:

1. The pasted item is actually rasterized instead of curves
2. The status bar claims the clipboard is empty (regardless of whether I copied via keyboard shortcut or the menu)
3. Everything works as expected

It is especially problematic, if not altogether impossible, to copy between two open documents; particularly if the documents are opened via the "recent documents" menu item.

I know similar bugs have been filed, but none that describes the erratic behavior above.

Tags: osx
Revision history for this message
su_v (suv-lp) wrote :

- Which version of X11 do you have installed?
Even though it's Tiger, not Leopard, could it also be a problem with the clipboard syncing between X11 and OS X? I don't know if there are updated versions or bug fixes for Tiger available from <http://xquartz.macosforge.org>.

Copying between two separate instances of Inkscape (happens when using 'Recent Items' or double clicking a document in the finder) depends on the system clipboard, whereas AFAIU copying between two Inkscape documents opened from within Inkscape is handled internally.

- Any interesting console messages when copy/paste fails?
- Other X11 apps running at the same time that interfere with the clipboard?

tags: added: osx
Revision history for this message
g2010a (x-launchpad-the-otherinbox-com) wrote :

X11 v. 1.1.3 - XFree86 4.4.0
All the X11 versions at the xquartz website were for Leopard only...

Normally my workflow is:
1. Open Inkscape
2. Go to Inkscape's menu File->Open Recent->blah.svg
3. Select something
4. Copy (either shortcut or menu)
4. Go to Inkscape's menu File->Open Recent->meh.svg
5. Paste (either shortcut or menu)

Does that qualify as opening the documents from within Inkscape?
When I open documents like this I can copy and paste, but objects with masks set seem to copy without the mask. Also, everything seems to be rasterized on paste.

Notable messages in console:
Warning about "Could not find the icon 'object-visible'. The 'hicolor' theme was not found either
Warning about Locale not supported by C library and extension RANDR missing on display 0.0
Warning about "more than 32 iteration while updating document"
Gdk-Critical "gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed"

Revision history for this message
su_v (suv-lp) wrote :

One more question before before I concede and admit 'that's completely out of my league' - what options does X11 have on OS X 10.4 (in Preferences...)? Does it have a 'org.x.X11.plist' or similar in '~/Library/Preferences' (any output of 'defaults read org.x.X11')? And how do you start X11 (I vaguely remember that there was a conflict with older OOo versions that changed the behavior of X11 when OOo was started first /without X11 already running)?

Other points to research: support for using the system clipboard is a new feature in 0.47 (bug #170185, fix committed in trunk 2008-03-26, release notes 0.47: <http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Desktop_integration_improvements>). AFAIK there have not been any official tiger builds after the release of 0.46:

 last dev/snapshot build for tiger: Inkscape-16573-i386-info.txt 30-Nov-2007 15:28 (on modevia, by JiHO)
 last release build for tiger: Inkscape-0.46-3.TIGER.UNIVERSAL.dmg Sun Apr 06 2008 09:53

which could point to a build issue? I'm speculating here - maybe the fix for supporting the system clipboard wasn't thoroughly tested on OS X 10.4 yet...

Revision history for this message
su_v (suv-lp) wrote :

another thought: did you see bug #296778? I realize it's only confirmed on Windows but still - any debugger running?

Revision history for this message
g2010a (x-launchpad-the-otherinbox-com) wrote :

There is no org.x.* under ~/Library/preferences and 'defaults read org.x.X11' says the domain org.x.X11 does not exist.

X11 is started when I double click the Inkscape.app icon.

The rasterization part may be the same bug 296778; I have no debugger installed and have no experience with such. How can we confirm it's the same?

And what about the inability to copy masks?

System-wide integration of clipboard is non-existent. I cannot copy to or from other applications. Maybe you're right and it was never tested properly on 10.4

I could try and build Inkscape from a nightly if you think that would help...

Revision history for this message
su_v (suv-lp) wrote :

could be named 'com.apple.X11.plist'...
 cd ~/Library/preferences
 ls -al | grep -i X11

But at this point I think this needs to be looked at by a developer who knows the code or has packaged Tiger-builds before. Rebuilding without changing the build options does not make much sense as there have not been many commits between the branch of 0.47pre1 (rev. 21721) and the current trunk (rev. 21755) (most of them are translation updates).

bug #296778 seems unlikely - even LucaDC can't reproduce it without running gdb :(

I was just browsing the [Xquartz-dev] mailing list archives, there are (besides apparently available updates for Tiger X11 through macports, but that's a no-go for most users anyway) many discussions that concern clipboard handling and syncing of Tigers quartz-wm (apple X11 window-manager). I didn't research in depth, and I'm still learning while digging in... but what stood out to me so far are statements like:

'If you are using quartz-wm, you need to let quartz-wm handle the
pasteboard since the Tiger quartz-wm doesn't have a way to disable it.'
<http://lists.macosforge.org/pipermail/xquartz-dev/2008-December/001770.html>

'One issue on Tiger is that it's using an old quartz-wm which might be
causing a weird race with NSPasteboard (it shouldn't though).'
<http://lists.macosforge.org/pipermail/xquartz-dev/2009-February/002071.html>

'It enables a much-improved pasteboard interaction between OSX and X11
including support for images.

Tiger the old version of quartz-wm which handles the pasteboard
interaction. This old version and can't be told to disable the
pasteboard proxying support. Thus when you enable support for the new
code in the server, the two come into conflict with eachother. On
Leopard, quartz-wm knows that it should not do the pasteboard proxying
when it sees a sufficiently new version of the server running.

I'll see if I can put together a Tiger build of the new quartz-wm for
you.'
<http://lists.macosforge.org/pipermail/xquartz-dev/2009-February/002097.html>

Maybe I am misreading these comments altogether, so - until I gain more insight - I don't know...

Nominate your bug report for release 0.47 (support for 0.47 on Tiger is important IMHO), try to contact some developer, maybe on the inkscape-devel list.

hth, ~suv

Revision history for this message
su_v (suv-lp) wrote :

> what options does X11 have on OS X 10.4 (in 'X11 > Preferences...')
any info on that?

Revision history for this message
g2010a (x-launchpad-the-otherinbox-com) wrote :

X11 > Preferences:

Input (all checked)
X Emulate three button mouse
X Use the system keyboard layout
X Enable keyboard shortcuts under X11

Output:
Colors: From display
 Enable the Enter Full Screen menu [not checked!]
X Use system alert sounds

Thanks for all your time and effort; how do I nominate the bug? Do I just send an email to the inkscape-devel list?

Revision history for this message
g2010a (x-launchpad-the-otherinbox-com) wrote :

Oh, and the output of defaults read com.apple.x11 is
{
    "NSWindow Frame x11_apps" = "527 546 486 332 0 0 1440 878 ";
    "NSWindow Frame x11_prefs" = "476 447 478 338 0 0 1440 878 ";
    "apps_menu" = (
        (Terminal, xterm, n),
        (kbabel, kbabel, ""),
        (xman, xman, ""),
        (xlogo, xlogo, "")
    );
    "done_xinit_check" = 1;
}

not too helpful, eh?

Revision history for this message
su_v (suv-lp) wrote :

> not too helpful, eh?
Gathering as much information as possible won't hurt...

'nominated for series/release' is a launchpad bug tracker feature: I haven't used it myself, but I think if you opened the bug, you have the rights to 'nominate' your bug through the link below the 'bug status bar' near the top of the page. But if you are unsure about this process (I am ;-) - wait a day or two, hopefully this bug gets more attention in the meantime...

Thanks go to _you_ for making the effort to contribute a Tiger build - I am sure there are many users eagerly waiting for a Tiger prerelease/dev build to try those many new and improved features of 0.47!

Revision history for this message
su_v (suv-lp) wrote :

Any updates on this one? like
- does it still happen
- have you had feedback from other Tiger users about it
- is it confirmed to happen for others as well

Revision history for this message
birdsaregood (ariel36) wrote :

Using the pre-release 0.47pre1 copy of Inkscape on OSX Tiger.

This same thing happens to me. Didn't happen in 0.46.

Here's what happens: When I make a copy, I can paste it and it is either a bitmap (without transparency) that shows up in the svg's folder as well, or it will paste as vector. I can paste an item repeatedly and it will be a combination of vector and bitmap images that are pasted.

Revision history for this message
g2010a (x-launchpad-the-otherinbox-com) wrote :

I guess that means it's confirmed.
For me, it still happens.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

If you are interested in testing Inkscape 0.47 for Tiger PPC:
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/32417>

Note: this is not yet an official build - so far we are still looking for testers to confirm its stability on different systems. If you feel up to testing it - feedback would be welcome, either here or on the mailing lists (inkscape-user or inkscape-devel). And it could be helpful to report bugs related to running Inkscape 0.47 on your platform (MacOS X Tiger PPC) in the bug tracker.

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Closing given native macOS Inkscape 1.0 makes this report obsolete. If there are issue with the native release, please check here to see if it has been reported: https://inkscape.org/inbox. Thank you!

Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: Confirmed → Invalid
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.