NppFTP
NppFTP copied to clipboard
NppFTP window is NEVER visible
This is a deliberate duplicate of https://github.com/ashkulz/NppFTP/issues/100. I open it because no one has responded to that issue. Every day I get emails from this list with development efforts on various issues, all seemingly related to back end issues. But I have not been able to get the slightest expression of interest from anyone involved in this issue, even though, by what is probably some very simple bug, the entire plugin is rendered useless to me.
@sc1478: sorry that your issue slipped through the cracks. There was a long hiatus before @chcg became active. Unfortunately, I don't have such a setup to verify the issue.
Thanks for the response. I am looking for the most basic information. My supposition is that the screen location for the NttFTP plugin is encoded in some configuration file or registry setting somewhere and has been somehow set to a value that makes it invisible. If someone can tell me where that information is encoded (file, registry, wherever) I could take a look and maybe help you guys to fix this thing,
If I may add a detail: the first time I start Notepad++ with the NppFTP plugin in a not-shown state, and I switch the plugin to be shown, a small box appears momentarily in the upper left side of the screen. It disappears too fast for me to read whatever information, if any, it contains.
@sc1478 could you please add the debug info of n++ and the NppFTP version you are using. And maybe the monitor resolutions.
I am using version 6.8.3 , NppFTP 0.26.8. Windows 7 64 bit. I tried a newer version some months back and got nowhere with it.
I don't know how to turn debug info on, please tell me and I'm happy to provide it.
I was able to work around this problem by the following means: I renamed my C:\Users{{userid}\AppData\Roaming\Notepad++ directory, to cause Notepad++ to give me a new configuration from scratch. Now the plugin is again visible.
However, I'd still like to get to the bottom of this. What specific setting(s) in these config files determine the location of the plugin window? Then I would know what to manually correct and you would get a lead on what to fix.
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
<PluginDlg pluginName="NppFTP.dll" id="0" curr="1" prev="-1" isVisible="yes" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="42051" curr="1" prev="-1" isVisible="yes" />
<ActiveTabs cont="0" activeTab="-1" />
<ActiveTabs cont="1" activeTab="1" />
<ActiveTabs cont="2" activeTab="-1" />
<ActiveTabs cont="3" activeTab="-1" />
</GUIConfig>
vs:
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="0" topHeight="371" bottomHeight="812">
<FloatingWindow cont="4" x="2302" y="610" width="3740" height="1136" />
<FloatingWindow cont="4" x="2302" y="610" width="3740" height="1136" />
<FloatingWindow cont="6" x="80" y="924" width="421" height="1057" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="42051" curr="1" prev="-1" isVisible="yes" />
<PluginDlg pluginName="NppFTP.dll" id="0" curr="1" prev="4" isVisible="no" />
<PluginDlg pluginName="ComparePlugin.dll" id="9" curr="1" prev="-1" isVisible="no" />
<PluginDlg pluginName="dummy" id="0" curr="2" prev="4" isVisible="yes" />
<PluginDlg pluginName="NppFTP.dll" id="99" curr="6" prev="3" isVisible="no" />
<ActiveTabs cont="0" activeTab="-1" />
<ActiveTabs cont="1" activeTab="0" />
<ActiveTabs cont="2" activeTab="-1" />
<ActiveTabs cont="3" activeTab="-1" />
<ActiveTabs cont="4" activeTab="-1" />
</GUIConfig>
seems to be the relevant part. I guess you use the docbar in the Floating modus, not docked to the n++ main window, when you observe the problem. As you are using a rather old N++ version, which might not be prepared well for multimonitor usage, the problem could also be part of N++. What are the monitor resolutions you are switch between?
As stated above I am using version Notepad++ 6.8.3 , NppFTP 0.26.8. I guess both are old versions. I am not sure what the Floating modus is, but it's possible I inadvertently set the window floating at some point. Assuming that's what I did, how would I "unfloat" or "redock" a window that's not visible?
As for the monitors, the laptop is 1920 X 1080. At work, the other monitor is also 1920 x 1080. Not sure what it is at home but it would be similar to that.
Now, playing around with it, I find it easy to undock the window, hard to get it back the way I had it previously. Only certain points appear dockable.
Docked version of NppFtp with message window. Otherwise the NppFtp is a separate window apart from the N++ one. Undocking and redocking is a N++ widget feature, so could not be influenced by NppFtp without a modification of the widget, redocking vertically just works at the right border of the n++ window.
Current NppFtp version is https://github.com/ashkulz/NppFTP/releases/tag/v0.26.9 , but I would not expect that there is a change regarding this issue.
See https://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/
, maybe the cascade helps, but as the window doesn't appear in the window list, I guess not. @sc1478 Do you observe the same behaviour with the function list or document map window in the undocked state?
I'm having this issue too. The problem with the classic tricks (like howtogeek) is that the nppftp window isn't really a window on its own, so it has no identifier. Also, for some reason, Notepad++ itself doesn't seem to allow for the standard context menu that would allow you to use the keyboard arrows to move the window around.
Also, I don't think there's any option to dock the nppftp window except for maybe some buttons that are on the nppftp window itself.
What would be a nice solution is to have an option (like the "focus" option) in the NPPFtp menu that allows you to center the NPPFtp window on the current screen.
Fixed my problem. In config.xml:
<FloatingWindow cont="4" x="1428" y="131" width="1867" height="1004" />
<FloatingWindow cont="4" x="1" y="113" width="4988" height="1117" />
I manually changed the "x" values to "1" while Notepad++ was closed. I reopened it, and the NPPFtp window was now positioned on the main screen where I could get to it. I don't remember what the values were before, but yeah, hope this helps someone.
Thanks for your trick, Mausolos - easier than my trick of starting with a whole new config. I do agree with you that the fact that NppFTP is not a true window renders the classic hints useless here.
This hasn't bitten me for a while.
Speaking of the "focus" menu item, what does that do? I have never understood it and there is no documentation I've been able to find.
I also agree that having a way to force docking of the undocked plugin window would be a nice to have. Sometimes the window becomes undocked, not sure why, and then I have to fiddle with it until I find the magic place to put the mouse, which redocks it. A more positive method will be welcome. I'm pretty sure that the problem originally results from exiting Notepad++ with the window undocked, something I now try never to do.
This happened for me because at home I have two 27" 2560x1440 monitors and a 1920x1200 monitor that I've made portrait. This gives me a ridiculous number of pixels, and I guess my NppFTP window must have been way out on the far right side of all that. When I plugged my laptop in at work, my mere dual 1920x1080 displays could not render a pixel almost 5k pixels out from "home", as the starting place.
I have no idea what "focus" does, maybe it should be the command that recenters the window?
I think the big trick to avoiding this problem is just to make sure you don't leave the FTP window too far away from the "home" pixel, which I'm pretty sure is the upper right corner of your home display.
On Tue, May 30, 2017 at 6:40 AM, sc1478 [email protected] wrote:
Thanks for your trick, Mausolos - easier than my trick of starting with a whole new config. I do agree with you that the fact that NppFTP is not a true window renders the classic hints useless here.
This hasn't bitten me for a while.
Speaking of the "focus" menu item, what does that do? I have never understood it and there is no documentation I've been able to find.
I also agree that having a way to force docking of the undocked plugin window would be a nice to have. Sometimes the window becomes undocked, not sure why, and then I have to fiddle with it until I find the magic place to put the mouse, which redocks it. A more positive method will be welcome. I'm pretty sure that the problem originally results from exiting Notepad++ with the window undocked, something I now try never to do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ashkulz/NppFTP/issues/134#issuecomment-304881275, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7DvYpcnc0I1xn7XOo3qhO7sXyQKEN9ks5r_Bw1gaJpZM4MRs8U .
I mean, upper left corner. Doh!
On Tue, May 30, 2017 at 9:35 AM, charles sheinin [email protected] wrote:
This happened for me because at home I have two 27" 2560x1440 monitors and a 1920x1200 monitor that I've made portrait. This gives me a ridiculous number of pixels, and I guess my NppFTP window must have been way out on the far right side of all that. When I plugged my laptop in at work, my mere dual 1920x1080 displays could not render a pixel almost 5k pixels out from "home", as the starting place.
I have no idea what "focus" does, maybe it should be the command that recenters the window?
I think the big trick to avoiding this problem is just to make sure you don't leave the FTP window too far away from the "home" pixel, which I'm pretty sure is the upper right corner of your home display.
On Tue, May 30, 2017 at 6:40 AM, sc1478 [email protected] wrote:
Thanks for your trick, Mausolos - easier than my trick of starting with a whole new config. I do agree with you that the fact that NppFTP is not a true window renders the classic hints useless here.
This hasn't bitten me for a while.
Speaking of the "focus" menu item, what does that do? I have never understood it and there is no documentation I've been able to find.
I also agree that having a way to force docking of the undocked plugin window would be a nice to have. Sometimes the window becomes undocked, not sure why, and then I have to fiddle with it until I find the magic place to put the mouse, which redocks it. A more positive method will be welcome. I'm pretty sure that the problem originally results from exiting Notepad++ with the window undocked, something I now try never to do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ashkulz/NppFTP/issues/134#issuecomment-304881275, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7DvYpcnc0I1xn7XOo3qhO7sXyQKEN9ks5r_Bw1gaJpZM4MRs8U .
Regarding the focus feature: In the docked state the title bar of the docking window is highlighted and if the cursor was in some textedit tab that one loses the focus and you can't move the cursor there with e.g. the arrow keys.
Config.xml could be found at %AppData%\Notepad++\config.xml
Took me almost an hour tried everything but I believe info is old in suggested fix and xml model files don't have those attributes anymore (at least not applicable to my issue).
But strange and funny, that if look closely there is a slight vertical bar to either side when clicking NppFTP button in toolbar. If you drag it, you'll find the FTP panel. Worked for me.
HTH
Thanks emeye. Good catch on the vertical bar on the editor window.