<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Admin vs. non-Admin inconsistency?]]></title><description><![CDATA[<p dir="auto">Interesting?:</p>
<p dir="auto">Have an instance of Notepad++ running as administrator:</p>
<p dir="auto"><img src="/assets/uploads/files/1619266827622-2aa7d2f6-3eea-4b8e-b7c4-946f42793ba3-image.png" alt="2aa7d2f6-3eea-4b8e-b7c4-946f42793ba3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Have a totally separate instance of N++ running as non-Administrator.</p>
<p dir="auto">Have an Explorer (non-admin) window open.</p>
<p dir="auto">Attempt to drag-and-drop a .txt file from Explorer to non-Admin N++.<br />
It works (obviously) to open the file into a N++ tab.</p>
<p dir="auto">Attempt to drag-and-drop a .txt file from Explorer to Admin-level N++.<br />
Nothing happens; file is not opened; no error message (ok, an error message would be nice, but I can deal with it the way it is).<br />
The possible lesson from this part of the story is that a non-admin app can’t share data to an admin app this way.</p>
<p dir="auto">Attempt to drag-and-drop a tab (for a file on disk) from non-Admin N++ to Admin-level N++.<br />
SUCCESS, it works to open the file in the Admin instance.<br />
This seems, well, a bit inconsistent, when compared to the Explorer test?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21069/admin-vs-non-admin-inconsistency</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 04:20:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21069.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Apr 2021 12:28:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Mon, 26 Apr 2021 06:41:42 GMT]]></title><description><![CDATA[<p dir="auto">Based on the link that <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20844">@mere-human</a> found, Admin Notepad++ may be able to get drag and drop messages by disabling filters with a call to ChangeWindowMessageFilterEx.</p>
<p dir="auto">So there is point to file an issue.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65319</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65319</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Mon, 26 Apr 2021 06:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 22:49:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/65313">Admin vs. non-Admin inconsistency?</a>:</p>
<blockquote>
<p dir="auto">I don’t really want to put an issue in – it might get acted upon!</p>
</blockquote>
<p dir="auto">Indeed. :-)</p>
<p dir="auto">You <em>might</em> want to put in a bug report to the effect that “exit on close the last tab” setting is ignored when you drag the last active tab to another instance.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65314</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65314</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 25 Apr 2021 22:49:34 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 22:40:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20844">@mere-human</a></p>
<p dir="auto">I realize that. :-)</p>
<p dir="auto">But, maybe I see it as just an inconsistency, not a bug.<br />
As said above, it can be a workaround for something that Windows/Explorer just won’t do.<br />
As such, I don’t really want to put an issue in – it might get acted upon! :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65313</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65313</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 25 Apr 2021 22:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 21:15:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> I mean report a bug in Notepad++ repository.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65312</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65312</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Sun, 25 Apr 2021 21:15:07 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 20:42:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20844">@mere-human</a> said in <a href="/post/65307">Admin vs. non-Admin inconsistency?</a>:</p>
<blockquote>
<p dir="auto">But probably it is worth to create an issue for this. Could you, please, do that, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> ?</p>
</blockquote>
<p dir="auto">I’m not sure, what issue I would make?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65311</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65311</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 25 Apr 2021 20:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 19:34:22 GMT]]></title><description><![CDATA[<p dir="auto">This looks like a caution measure in Windows.</p>
<blockquote>
<p dir="auto">As a security measure Windows does not permit drag and drop from an unelevated source to an elevated recipient.</p>
</blockquote>
<p dir="auto">More info here:<br />
<a href="https://social.msdn.microsoft.com/Forums/en-US/5ff2938f-7eb0-4fec-9ce1-b4b745886797/drag-n-drop-not-working-on-elevated-mode-with-coledroptarget?forum=vcgeneral" rel="nofollow ugc">https://social.msdn.microsoft.com/Forums/en-US/5ff2938f-7eb0-4fec-9ce1-b4b745886797/drag-n-drop-not-working-on-elevated-mode-with-coledroptarget?forum=vcgeneral</a></p>
<p dir="auto">But probably it is worth to create an issue for this. Could you, please, do that, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65307</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65307</guid><dc:creator><![CDATA[mere-human]]></dc:creator><pubDate>Sun, 25 Apr 2021 19:34:22 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 12:31:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a><br />
Please phrase the inconstancy that concerns you?</p>
<p dir="auto">I understood that the inconsistency was that drag-and-drop acts differently for normal user Notepad++ instance and admin Notepad++ instance?</p>
<p dir="auto">Since I used to drag from explorer to command prompt a lot, I specifically remember that it stopped working for Windows Vista since Microsoft decided that it is unsafe and blocked it.</p>
<p dir="auto">I guess that an Admin Notepad++ wouldn’t observe any Windows message when a file is dragged from explorer into it so it can not show any feedback to the user.</p>
<p dir="auto">I admit I am a bit surprised that drag and drop from normal Notepad++ to Admin Notepad++ does work. Don’t know why, but some ideas are:</p>
<ul>
<li>Explorer.exe is critical part of Windows it is possible that stricter rules are applied for dragging from it.</li>
<li>Drag-and-drop is complex with lots of implementation details that may make the difference.</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/65304</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65304</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Sun, 25 Apr 2021 12:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 11:18:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3182">@gstavi</a> said in <a href="/post/65295">Admin vs. non-Admin inconsistency?</a>:</p>
<blockquote>
<p dir="auto">Try dragging a file from explorer into an admin command prompt and normal command prompt.<br />
Same results.<br />
This is a Windows feature completely unrelated to Notepad++. Windows blocks the messages related to drag and drop since there are security risks involved.</p>
</blockquote>
<p dir="auto">My complaint wasn’t with this, specifically.<br />
My intent was to just point out perhaps an inconsistency, and one that has potential value as a workaround to the Windows behavior.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65300</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65300</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 25 Apr 2021 11:18:46 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sun, 25 Apr 2021 07:41:30 GMT]]></title><description><![CDATA[<p dir="auto">Try dragging a file from explorer into an admin command prompt and normal command prompt.<br />
Same results.</p>
<p dir="auto">This is a Windows feature completely unrelated to Notepad++. Windows blocks the messages related to drag and drop since there are security risks involved.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65295</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65295</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Sun, 25 Apr 2021 07:41:30 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sat, 24 Apr 2021 18:56:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> said in <a href="/post/65289">Admin vs. non-Admin inconsistency?</a>:</p>
<blockquote>
<p dir="auto">noticed that it would close my non-admin window if it were the last (only) tab dragged out.</p>
</blockquote>
<p dir="auto">Well, one can always Ctrl+drag out a tab, to avoid that situation, if it is important to avoid it.  But perhaps it is another inconsistency, as I’d think its (dragging tab out WITHOUT Ctrl) behavior would be governed by this setting:</p>
<p dir="auto"><img src="/assets/uploads/files/1619290508960-f8728bfa-9a68-4009-928c-9fa5a764575a-image.png" alt="f8728bfa-9a68-4009-928c-9fa5a764575a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But it doesn’t appear to be…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65290</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65290</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 24 Apr 2021 18:56:23 GMT</pubDate></item><item><title><![CDATA[Reply to Admin vs. non-Admin inconsistency? on Sat, 24 Apr 2021 17:48:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> ,</p>
<p dir="auto">I just replicated the process, and agree with your results.</p>
<p dir="auto">Personally, I’ve never understood why Admin-mode would prevent drag-and-drop; it would be nice if they figured out how to allow that to work into an Admin window.  But I’d suggest pointing to this thread as a workaround when people want to drag-and-drop into admin mode.  :-)</p>
<p dir="auto">While running the experiment I noticed that it would close my non-admin window if it were the last (only) tab dragged out.  I guess forcibly removing the last tab might be expected to close the app.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65289</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65289</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 24 Apr 2021 17:48:14 GMT</pubDate></item></channel></rss>