I use the included Notepad a lot. WINE used to save where I had re-sized and placed it, but now it does not. How do I save my re-size? Thank you.
> I use the included Notepad a lot. > WINE used to save where I had re-sized and placed it, but now it does not. > How do I save my re-size? > Thank you.From looking at the source it does not seem like notepad tries to restore the previously used window size; this may have been done by your window manager. Wine's wordpad is will remember the last window size. Do you know what notepad on Windows does? Alexander N. S?rnes
Susan Cragin wrote:> I use the included Notepad a lot. > WINE used to save where I had re-sized and placed it, but now it does not. > How do I save my re-size? > Thank you.Strange it works for me and the code looks correct. Can you attach the output of this command? Code: wine regedit /e - "HKEY_CURRENT_USER\Software\Microsoft\Notepad"
In Windows it retains the size. -----Original Message----->From: Alexander Nicolaysen S?rnes <alex at thehandofagony.com> >Sent: Apr 1, 2008 9:31 AM >To: wine-users at winehq.org, Susan Cragin <susancragin at earthlink.net> >Subject: Re: [Wine] Notepad - resizing > >> I use the included Notepad a lot. >> WINE used to save where I had re-sized and placed it, but now it does not. >> How do I save my re-size? >> Thank you. > >From looking at the source it does not seem like notepad tries to restore the >previously used window size; this may have been done by your window manager. >Wine's wordpad is will remember the last window size. > >Do you know what notepad on Windows does? > > >Alexander N. S?rnes
DO NOT top post! Mark Knecht wrote:> Is there any way of knowing whether in Windows notepad saves its own > size or whether Windows saves it for notepad? >What will that tell you? Wine's notepad properly saves that info and restores it. If it doesn't work for some one - that's either the notepad is REALLY REALLY old or configuration is broken.
-----Original Message----->Strange it works for me and the code looks correct. Can you attach the output of this command? > >Code: >wine regedit /e - "HKEY_CURRENT_USER\Software\Microsoft\Notepad"It did work for me this morning. I got the latest git and Notepad re-sized well. So the following is probably useless. I know what WINE change caused it to not re-size, and unfortunately I don't have time to look it up. A few days ago someone added a patch code contributed by a user that made the windows manager work differently? Suddenly Notepad showed the wine logo in the upper left-hand corner, and it didn't re-size. Now it shows the notepad logo, and it does re-size. susan at ubuntu:~$ wine regedit /e - "HKEY_CURRENT_USER\Software\Microsoft\Notepad" REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Notepad] "fMLE_is_broken"=dword:00000000 "fSaveWindowPositions"=dword:00000000 "fWrap"=dword:00000000 "iMarginBottom"=dword:000003e8 "iMarginLeft"=dword:000002ee "iMarginRight"=dword:000002ee "iMarginTop"=dword:000003e8 "iPointSize"=dword:00000064 "iWindowPosDX"=dword:0000019b "iWindowPosDY"=dword:0000023c "iWindowPosX"=dword:00000185 "iWindowPosY"=dword:0000001b "lfCharSet"=dword:00000000 "lfClipPrecision"=dword:00000000 "lfEscapement"=dword:00000000 "lfFaceName"="Lucida Console" "lfItalic"=dword:00000000 "lfOrientation"=dword:00000000 "lfOutPrecision"=dword:00000000 "lfPitchAndFamily"=dword:00000031 "lfQuality"=dword:00000000 "lfStrikeOut"=dword:00000000 "lfUnderline"=dword:00000000 "lfWeight"=dword:00000190 "StatusBar"=dword:00000000 "szHeader"="&f" "szTrailer"="Page &p" susan at ubuntu:~$
Could this have anything to do with this issue? Valgrind errors fixed today, per developer list? ---------------------------------------------------------------- Thanks for the heads up, With Alexandre's latest fix to the code do the valgrind errors persist? -aric Dan Kegel wrote:> Aric, can you have a look? > > Any call to CreateWindow now spews lots of Valgrind errors. > For instance, > kegel.com/wine/valgrind/logs-2008-04-01/vg-advpack_install-diff.txt > contains: > + Conditional jump or move depends on uninitialised value(s) > + at RtlInitUnicodeString (unicode.h:212) > + by LoadLibraryExW (module.c:924) > + by LoadLibraryW (module.c:968) > + by ImmCreateContext (imm.c:143) > + by X11DRV_SetupXIM (xim.c:510) > + by x11drv_init_thread_data (x11drv_main.c:654) > + by X11DRV_SetWindowPos (x11drv.h:517) > + by set_window_pos (winpos.c:1919) > + by WIN_CreateWindowEx (win.c:1121) > + by CreateWindowExW (win.c:1351) > + by manage_desktop (desktop.c:224) > + by WinMain (explorer.c:136) > + by main (exe_main.c:48) >
Susan Cragin wrote:> Could this have anything to do with this issue? Valgrind errors fixed today, per developer list?Doubt. Those errors were fixed yesterday. And introduced a day before. The code that saves / restores notepad settings haven't changed in some time. Might be just one of those unreproducible problems.