I found a quicker solution than reinstalling the whole software, by simply deleting the registry entry "layout" under HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0. I think deleting the line in lyx.conf for Unix users should work as well.
The problem is that other layout configurations are lost as well, as the visible toolbars and their locations. But at least it restores the original layout for the Source and Message panes. If someone is interested to automate it, here is the command to run on Windows 7 : Reg delete HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0 /v layout /f Gilles On 18 July 2015 at 10:29, Liviu Andronic <[email protected]> wrote: > On Sat, Jul 18, 2015 at 9:31 AM, Gilles Moyse <[email protected]> > wrote: > > It doesn't work in my case (Lyx 2.1.3), there is no such button when the > > pane is undocked. > > > If all else fails, and this is important, try starting with a fresh > config to let LyX reinitialize the toolbars. > > Liviu > > > > When I looked in my registry (I'm using the Windows version during the > > week-end) I found the following values for what seems to me related to > the > > panes Progress and Source : > > > > [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\progress] > > > "geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fc,00,cf,00,ff,00,ff,00,fb,00,76,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,fe,00,0b,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,29,00 > > "autoclear"="true" > > "statusbarmsgs"="true" > > > > [HKEY_CURRENT_USER\Software\LyX\LyX2.1\views\0\view-source] > > > "geometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,01,00,00,00,00,00,05,00,55,00,00,00,00,00,02,00,da,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00 > > "autoupdate"="true" > > > > Do you know where are the original values for the "geometry" fields in > order > > to restore the 2 panes in their original state? > > > > Thanks in advance, > > > > Gilles > > > > > > On 18 July 2015 at 08:22, Liviu Andronic <[email protected]> wrote: > >> > >> On Sat, Jul 18, 2015 at 7:44 AM, Gilles Moyse <[email protected]> > >> wrote: > >> > I tried that but it only undocks the pane. What I would like to do is > >> > > >> Try it when pane is already undocked. Here it docks it back... > >> Liviu > >> > >> > >> > restore the original layout where the bottom of the screen is made of > >> > one > >> > block containing the source pane on the left and the message pane on > the > >> > right. > >> > > >> > Gilles > >> > On 18 July 2015 at 02:25, Liviu Andronic <[email protected]> > wrote: > >> >> > >> >> On Fri, Jul 17, 2015 at 11:52 AM, Gilles Moyse < > [email protected]> > >> >> wrote: > >> >> > Dear all, > >> >> > > >> >> > I cannot find a way to restore the original side by side layout of > >> >> > the > >> >> > Source and Progress panes in Lyx. If I mistakenly move one of > those, > >> >> > I > >> >> > cannot dock it back to its original position, I can only add it as > a > >> >> > tab, > >> >> > thus preventing to have both views at once. > >> >> > > >> >> Have you tried clicking on the button next to close that > >> >> docks/undocks? Here it restores side by side positioning. > >> >> > >> >> Liviu > >> >> > >> >> > >> >> > In this thread, I learnt that the configuration file storing the > >> >> > panes' > >> >> > locations parameters was the Registry in Windows and > >> >> > ~/.config/Lyx/lyx.conf > >> >> > in Linux. > >> >> > > >> >> > Unfortunately, this data is not easily editable since it is stored > in > >> >> > some > >> >> > kind of hexadecimal format. Since what I'd like is restoring the > >> >> > original > >> >> > panes' layout, do you know where can I find the original lyx.conf > >> >> > file > >> >> > so as > >> >> > to restore their values in the appropriate fields > >> >> > (1\progress\geometry > >> >> > and > >> >> > 1\view-source\geometry) ? > >> >> > > >> >> > Thanks in advance, > >> >> > > >> >> > Gilles > >> >> > >> >> > >> >> > >> >> -- > >> >> Do you think you know what math is? > >> >> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 > >> >> Or what it means to be intelligent? > >> >> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 > >> >> Think again: > >> >> http://www.ideasroadshow.com/library > >> > > >> > > >> > >> > >> > >> -- > >> Do you think you know what math is? > >> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 > >> Or what it means to be intelligent? > >> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 > >> Think again: > >> http://www.ideasroadshow.com/library > > > > > > > > -- > Do you think you know what math is? > http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 > Or what it means to be intelligent? > http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 > Think again: > http://www.ideasroadshow.com/library >
