opening link properties replaces the primary selection

Bug #944845 reported by Christopher Yeleighton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
inkscape (openSUSE)
Won't Fix
Medium

Bug Description

When I open the link properties window, it automatically selects the reference for me.

Reproducible: Always

Steps to Reproduce:
  1. Select "Reproducibility".
  2. Tell the text box INKSCAPE to show link properties.
  3. Paste the primary selection.
Actual Results:
  3. http://inkscape.org/

Expected Results:
  3. Reproducibility

Name : inkscape
Version : 0.48.2
Release : 2.1.2
Architecture: x86_64
Install Date: Mon Jan 16 22:18:09 2012
Group : Productivity/Graphics/Vector Editors
Size : 61848048
License : GPLv2 ; LGPLv2.1
Signature : RSA/SHA256, Sun Oct 30 05:19:19 2011, Key ID b88b2fd43dbdc284
Source RPM : inkscape-0.48.2-2.1.2.src.rpm
Build Date : Sun Oct 30 05:09:09 2011
Build Host : build31
Relocations : (not relocatable)
Packager : http://bugs.opensuse.org
Vendor : openSUSE
URL : http://www.inkscape.org/
Summary : Vector Illustration Program
Description :
Inkscape is a vector illustration program for the GNOME desktop.
Distribution: openSUSE 12.1

Revision history for this message
In , Christopher Yeleighton (giecrilj) wrote :

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

When I open the link properties window, it automatically selects the reference for me.

Reproducible: Always

Steps to Reproduce:
  1. Select "Reproducibility".
  2. Tell the text box INKSCAPE to show link properties.
  3. Paste the primary selection.
Actual Results:
  3. http://inkscape.org/

Expected Results:
  3. Reproducibility

Revision history for this message
In , Christopher Yeleighton (giecrilj) wrote :

Created an attachment (id=479183)
test document

Revision history for this message
Christopher Yeleighton (giecrilj) wrote :
Revision history for this message
In , Christopher Yeleighton (giecrilj) wrote :

Bug reported for upstream.

description: updated
Changed in inkscape (openSUSE):
importance: Unknown → Medium
status: Unknown → Won't Fix
Revision history for this message
su_v (suv-lp) wrote :

> Steps to Reproduce:
> 1. Select "Reproducibility".

There is neither a text object with the content 'Reproducibility' in the attached sample SVG file, nor is that text anywhere else in the SVG source of the file. Could you please explain what you refer to with this instruction?

> Expected Results:
> 3. Reproducibility

Neither do I understand this "Expected Results".

> When I open the link properties window, it automatically selects the reference for me.

AFAIU this depends on a Gtk+ setting and is not a special feature nor a bug of Inkscape (also applies to other dialogs and toolbars in Inkscape, as well as other GTK+-based applications):
<http://developer.gnome.org/gtk/2.24/GtkSettings.html#GtkSettings--gtk-entry-select-on-focus>
(Default value: TRUE)

If I add this line to '~/.gtkrc-2.0' (or whatever gtkrc file is loaded by inkscape):

gtk-entry-select-on-focus = 0

the content of the first GtkEntry widget of the dialog is no longer selected when opening 'Link properties' (also applies to GtkEntry widgets in other dialogs and toolbars).

Tested with Inkscape 0.48.2, 0.48.3.1 and 0.48+devel r11080 on OS X 10.7.2, XQuartz 2.7.1 (xorg-server 1.11.4).

Proposing to close as 'Invalid' in Inkscape (the behaviour depends on the local configuration of Gtk+, not on Inkscape's code).

tags: added: clipboard
removed: primary
Revision history for this message
Christopher Yeleighton (giecrilj) wrote :

  1. Select "Reproducibility" in the browser.
  3. Text "Reproducibility" should appear in the text entry field.

Revision history for this message
Beluga (buovjaga) wrote :

Changing status to invalid per comment #5.

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