I'm using command-line arguments to supply parameters to bitcoin-qt.exe during startup and one of the arguments is -txindex.
Now when I start the client via clicking a bitcoin: URI (when the client is not running already), it will not pass ANY of my normal command-line arguments and just the URI, which leads (in this case) to the message that I need to reindex to change -txindex state, because of the missing -txindex. I can think of other arguments leading to unwanted or strange behaviour.
Any ideas how we could handle the "client is started via bitcoin: URI"?