Inkscape mangles win32 registry keys @(default) + Path in key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\inkscape.exe

Bug #644185 reported by anonymous on 2010-09-21
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Alvin Penner

Bug Description

On each invocation inkscape mangles these keys with random japanese characters garbage.

Seems like buffer error or locale error.

These keys contains information, used by windows system shell (explorer.exe) and several APIs, e.g. "run dialog" (press winkey+r to see) to execute an program, by single word "shortcut" e.g. by typing "inkscape" or "inkscape.exe".

This might be related to bug https://bugs.launchpad.net/inkscape/+bug/505107.

This path must be in all circumstances valid, otherwise the execution of sole "inkscape" or "inkscape.exe" in the "run dialog" and other related functionality fails.

More over current implementation does not even check the key, but directly overwrites it and this is WRONG. What if user has multiple inkscape instalaltions, but wants to invoke only certain one through "run dialog"? Please fix it.

Version causing this Inkscape 0.48.0 r9654.

Temporary FIX:

With registry editor fix the entries to correct path, set key security to read only for all users besides SYSTEM, this way the inkscape.exe process won't be able to overwrite the values.

anonymous (anon-bugs) wrote :
su_v (suv-lp) on 2010-09-21
tags: added: win32
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape 0.48.
With 0.47, the keys are correctly set (see attachment).

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
jazzynico (jazzynico) wrote :
su_v (suv-lp) on 2010-09-22
tags: added: regression
jazzynico (jazzynico) wrote :

Reproduced on XP, Inkscape trunk revision 11649.

Changed in inkscape:
status: Confirmed → Triaged
jazzynico (jazzynico) wrote :

Regression introduced revision 9248, when fixing Bug #505107 "[Win32] Inkscape cannot find its resources (e.g. icons) when run from an Unicode directory".

Alvin Penner (apenner) wrote :

- fix committed to bzr rev 11928
- tested on Windows XP

Changed in inkscape:
status: Triaged → Fix Committed
su_v (suv-lp) on 2012-12-24
Changed in inkscape:
assignee: nobody → Alvin Penner (apenner)
milestone: none → 0.49
Bryce Harrington (bryce) on 2015-02-21
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers