If the preferences.xml file is broken, inkscape displays a modal dialog with a warning at the launch. Still there is no parent window yet for the warning message. As warning message dialog has properties _NET_WM_STATE_MODAL and _NET_WM_STATE_SKIP_TASKBAR, it is not shown on the task bar, it blocks inkscape for starting up till user clicks on OK. The problem is - if window manager prevents focus stealing, the dialog is created behind other windows and _NET_WM_STATE_SKIP_TASKBAR prevents it from appearing on the task bar thus user has no idea that such dialog exists! It can be discovered only by an accident - when using alt+tab or minimizing any other windows. As the dialog provides only a warning, it should not be modal. If warnings modality is kept, it should not have _NET_WM_STATE_SKIP_TASKBAR property set.
Steps to reproduce with inkscape-0.48.4-r1:
rm .config/inkscape/preferences.xml && touch .config/inkscape/preferences.xml
start Firefox or any other application and maximize it
start inkscape
KWin: 4.11.7
xprop
_KDE_NET_WM_ACTIVITIES(STRING) = "00000000-0000-0000-0000-000000000000"
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 7, 7, 33, 11
_NET_FRAME_EXTENTS(CARDINAL) = 7, 7, 33, 11
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL, _NET_WM_STATE_SKIP_TASKBAR
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x5600018
bitmap id # of mask for icon: 0x560001b
window id # of group leader: 0x5600001
_NET_WM_ICON(CARDINAL) = <<< icon code removed >>>
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 90177541
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 1413945
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x5600004
WM_CLIENT_LEADER(WINDOW): window id # 0x5600001
_NET_WM_PID(CARDINAL) = 3566
WM_LOCALE_NAME(STRING) = "lv_LV.utf8"
WM_CLIENT_MACHINE(STRING) = "glacier"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified minimum size: 597 by 170
program specified maximum size: 597 by 170
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "inkscape", "Inkscape"
WM_ICON_NAME(STRING) =
_NET_WM_ICON_NAME(UTF8_STRING) =
WM_NAME(STRING) =
_NET_WM_NAME(UTF8_STRING) =
could you attach an example of a broken preferences.xml file?