Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-05 Thread Pavel Sanda
On Thu, Mar 04, 2021 at 11:24:40AM +0100, Robert Neumann wrote:
> >> I cannot reproduce on Mac either. 
> > 
> > Actually I can. When I look into ~/Library/Preferences I see possible 
> > culprit --
> > there are two plist files: org.lyx.LyX-2.3.plist and second 
> > org.lyx.lyx.plist.
> > 
> > It seems that one of them is used when lyx is launched from icon and the 
> > second
> > when you click on some .lyx file.
> > 
> > Robert, if you click on some .lyx file and set VC Toolbar , then quit and 
> > again
> > click on .lyx file then the setting persists. Correct?
> 
> yes and no:
> - the setting persists, if I just close the file in LyX and click on the same 
> file in the finder
> 
> It is gone/forgotten:
> - if I open another file (this might be intended)
> - if I close LyX in the dock, so that LyX is totally closed and then click on 
> the file again


This is not exactly what I observe:
Scenario 1:
1. open via (clicking on) file, set CT toolbar on.
2. close window (but not instance)
3. open via the same file
4. toolbar is lost

Scenario 2:
1. open via (clicking on) file, set CT toolbar on.
2. close window (but not instance)
3. open via the another file
4. toolbar is lost

Scenario 3:
1. open via (clicking on) file, set CT toolbar on.
2. quit the whole lyx instance
3. open via the same file
4. toolbar is remembered

Scenario 4:
1. open via (clicking on) file, set CT toolbar on.
2. quit the whole lyx instance
3. open via the another file
4. toolbar is remembered

So at least here (lyx 2.3.4.2 & big sur 11.2.1), its not the file identity,
but the fact whether you just close window or the whole app which matters.

Given that Stephan can not reproduce the best workaround is perhaps
permananetly change the ui file (see Eberhard's mail).

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-04 Thread Robert Neumann



> Am 04.03.2021 um 10:37 schrieb Pavel Sanda :
> 
> On Thu, Mar 04, 2021 at 07:57:41AM +0100, Stephan Witt wrote:
>> Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
>>> 
>>> On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
 (-is there a way to have the version-control-menue showed permanently, 
 I have to activate it manually everytime
>>> I do not understand this question. You mean toolbar?
>> yes of course, sorry for the incorrect description???
> 
> I do not experience your problem. The toolbars might get reset once upon 
> a time
> (for example if you are upgrading to a newer version of lyx) but generally
> stay set consistently across sessions (linux here). 
> 
> If you
> 1) close all your lyx sessions
> 2) open new one and set toolbars acccording to your needs
> 3) close session 
> 4) open new session again the toolbar is lost?
 
 not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
 If I double-click on a file in the finder it is gone...
 both LyX 2.3.6.3
>>> 
>>> I see, then this is bug specific to mac only.
>>> There must be something different when lyx is launched via its icon and
>>> when clicking just on the file.
>>> 
>>> CC-ing lyx-devel, Stephan might have a clue what's going on.
>> 
>> I cannot reproduce on Mac either. 
> 
> Actually I can. When I look into ~/Library/Preferences I see possible culprit 
> --
> there are two plist files: org.lyx.LyX-2.3.plist and second org.lyx.lyx.plist.
> 
> It seems that one of them is used when lyx is launched from icon and the 
> second
> when you click on some .lyx file.
> 
> Robert, if you click on some .lyx file and set VC Toolbar , then quit and 
> again
> click on .lyx file then the setting persists. Correct?

yes and no:
- the setting persists, if I just close the file in LyX and click on the same 
file in the finder

It is gone/forgotten:
- if I open another file (this might be intended)
- if I close LyX in the dock, so that LyX is totally closed and then click on 
the file again
Robert


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-04 Thread Pavel Sanda
On Thu, Mar 04, 2021 at 07:57:41AM +0100, Stephan Witt wrote:
> Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
> > 
> > On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
> >>> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
> >>> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
> >> (-is there a way to have the version-control-menue showed permanently, 
> >> I have to activate it manually everytime
> > I do not understand this question. You mean toolbar?
>  yes of course, sorry for the incorrect description???
> >>> 
> >>> I do not experience your problem. The toolbars might get reset once upon 
> >>> a time
> >>> (for example if you are upgrading to a newer version of lyx) but generally
> >>> stay set consistently across sessions (linux here). 
> >>> 
> >>> If you
> >>> 1) close all your lyx sessions
> >>> 2) open new one and set toolbars acccording to your needs
> >>> 3) close session 
> >>> 4) open new session again the toolbar is lost?
> >> 
> >> not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
> >> If I double-click on a file in the finder it is gone...
> >> both LyX 2.3.6.3
> > 
> > I see, then this is bug specific to mac only.
> > There must be something different when lyx is launched via its icon and
> > when clicking just on the file.
> > 
> > CC-ing lyx-devel, Stephan might have a clue what's going on.
> 
> I cannot reproduce on Mac either. 

Actually I can. When I look into ~/Library/Preferences I see possible culprit --
there are two plist files: org.lyx.LyX-2.3.plist and second org.lyx.lyx.plist.

It seems that one of them is used when lyx is launched from icon and the second
when you click on some .lyx file.

Robert, if you click on some .lyx file and set VC Toolbar , then quit and again
click on .lyx file then the setting persists. Correct?

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-03 Thread Stephan Witt
Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
> 
> On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
>>> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
>>> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
>> (-is there a way to have the version-control-menue showed permanently, I 
>> have to activate it manually everytime
> I do not understand this question. You mean toolbar?
 yes of course, sorry for the incorrect description???
>>> 
>>> I do not experience your problem. The toolbars might get reset once upon a 
>>> time
>>> (for example if you are upgrading to a newer version of lyx) but generally
>>> stay set consistently across sessions (linux here). 
>>> 
>>> If you
>>> 1) close all your lyx sessions
>>> 2) open new one and set toolbars acccording to your needs
>>> 3) close session 
>>> 4) open new session again the toolbar is lost?
>> 
>> not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
>> If I double-click on a file in the finder it is gone...
>> both LyX 2.3.6.3
> 
> I see, then this is bug specific to mac only.
> There must be something different when lyx is launched via its icon and
> when clicking just on the file.
> 
> CC-ing lyx-devel, Stephan might have a clue what's going on.

I cannot reproduce on Mac either. 

But there are reports sometimes about LyX’s settings not being persistent.

There are user errors:

https://www.lyx.org/trac/ticket/11558

or these are either Qt problems or LyX - I cannot say.

https://www.lyx.org/trac/ticket/10364

Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-03 Thread Pavel Sanda
On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
> > Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
> > On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
>  (-is there a way to have the version-control-menue showed permanently, I 
>  have to activate it manually everytime
> >>> I do not understand this question. You mean toolbar?
> >> yes of course, sorry for the incorrect description???
> > 
> > I do not experience your problem. The toolbars might get reset once upon a 
> > time
> > (for example if you are upgrading to a newer version of lyx) but generally
> > stay set consistently across sessions (linux here). 
> > 
> > If you
> > 1) close all your lyx sessions
> > 2) open new one and set toolbars acccording to your needs
> > 3) close session 
> > 4) open new session again the toolbar is lost?
>
> not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
> If I double-click on a file in the finder it is gone...
> both LyX 2.3.6.3

I see, then this is bug specific to mac only.
There must be something different when lyx is launched via its icon and
when clicking just on the file.

CC-ing lyx-devel, Stephan might have a clue what's going on.
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users