Re: Toolbars should have a right-click menu item to add more toolbars

2022-06-16 Thread Jean-Marc Lasgouttes
Le 01/06/2022 à 09:45, Daniel a écrit : https://wiki.lyx.org/LyX/FeaturePoll2#toc16 asks for: "Toolbars should have a right-click menu item to add more toolbars." That has been implemented some time ago, right? (Note that this is not "Add/remove toolbar icons, like OpenOffice.org " which is a

Re: Toolbars should have a right-click menu item to add more toolbars

2022-06-01 Thread Daniel
On 2022-06-01 09:45, Daniel wrote: https://wiki.lyx.org/LyX/FeaturePoll2#toc16 asks for: "Toolbars should have a right-click menu item to add more toolbars." That has been implemented some time ago, right? (Note that this is not "Add/remove toolbar icons, like OpenOffice.org " which is anothe

Re: Toolbars don't dock in LyX Version 2.3.2dev

2018-10-23 Thread Daniel
On 23/10/2018 11:43, Daniel wrote: Hi, Can someone confirm that Toolbars don't dock in LyX Version 2.3.2dev? Or is it just the Qt version 5.11.2 that's buggy? Best, Daniel Works with Qt 5.9.7. Daniel

Re: toolbars Lock menu

2016-10-08 Thread racoon
I have created a patch at https://www.lyx.org/trac/ticket/10283. On 23.09.2016 00:47, Guillaume Munch wrote: Le 22/09/2016 à 09:18, racoon a écrit : On 21.09.2016 17:24, Guillaume Munch wrote: * I expected to find the lock toolbar option when right-clicking on the toolbars. Do you know where t

Re: toolbars Lock menu

2016-09-22 Thread Guillaume Munch
Le 22/09/2016 à 09:18, racoon a écrit : Hi Guillaume, Thanks a lot. I have added some comments. I tried to fix what I could. I am a total amateur in this. I don't know what bug there should be since it works as expected for me. It would be great if you give me further instructions or just show m

Re: toolbars Lock menu

2016-09-22 Thread racoon
Hi Guillaume, Thanks a lot. I have added some comments. I tried to fix what I could. I am a total amateur in this. I don't know what bug there should be since it works as expected for me. It would be great if you give me further instructions or just show me how to do the improvements. While I

Re: toolbars Lock menu

2016-09-21 Thread Guillaume Munch
Le 11/08/2016 à 14:56, racoon a écrit : Hi, Thanks and sorry for the delay. Here is an updated version. (I hope I have not forgotten to include all files in the patch.) This time the Lock Toolbars Positions is locked if and only if each toolbar is locked. I guess that makes more sense. Hi Dan

Re: toolbars Lock menu

2016-08-11 Thread racoon
On 11.08.2016 14:56, racoon wrote: On 20.07.2016 16:41, Guillaume Munch wrote: Le 12/07/2016 13:30, racoon a écrit : I have attached a first attempt at implementing a toolbar lock. (Unfortunately, it is a bit intermingled with a lfun implementation for changing the icon-size.) Hi, I can have

Re: toolbars Lock menu

2016-08-11 Thread racoon
On 20.07.2016 16:41, Guillaume Munch wrote: Le 12/07/2016 13:30, racoon a écrit : I have attached a first attempt at implementing a toolbar lock. (Unfortunately, it is a bit intermingled with a lfun implementation for changing the icon-size.) Hi, I can have a look. Do you have an updated patc

Re: toolbars Lock menu

2016-07-20 Thread Guillaume Munch
Le 12/07/2016 13:30, racoon a écrit : I have attached a first attempt at implementing a toolbar lock. (Unfortunately, it is a bit intermingled with a lfun implementation for changing the icon-size.) Hi, I can have a look. Do you have an updated patch in the meanwhile?

Re: toolbars Lock menu

2016-07-12 Thread racoon
I have attached a first attempt at implementing a toolbar lock. (Unfortunately, it is a bit intermingled with a lfun implementation for changing the icon-size.) Toolbars can be (un)locked individually via the lfun command toolbar-movable , e.g. toolbar-movable standard Toolbars can be (un)loc

Re: toolbars Lock menu

2016-07-11 Thread racoon
On 11.07.2016 09:23, racoon wrote: I have proposed the new feature here: #10283 (and #10282) Outside of trac these numbers don't work that nicely as links. http://www.lyx.org/trac/ticket/10283 http://www.lyx.org/trac/ticket/10282 --- Diese E-Mail wurde von Avast Antivirus-Software auf Vire

Re: toolbars Lock menu

2016-07-11 Thread racoon
On 10.07.2016 04:42, Scott Kostyshak wrote: On Sat, Jul 09, 2016 at 03:19:51PM +0100, José Abílio Matos wrote: On Saturday, July 9, 2016 2:42:11 PM WEST racoon wrote: By the way, since I have never worked on a project like LyX, if anyone has tips on how to work effectively, I am pleased to know

Re: toolbars Lock menu

2016-07-09 Thread Scott Kostyshak
On Sat, Jul 09, 2016 at 03:19:51PM +0100, José Abílio Matos wrote: > On Saturday, July 9, 2016 2:42:11 PM WEST racoon wrote: > > By the way, since I have never worked on a project like LyX, if anyone > > has tips on how to work effectively, I am pleased to know. I guess using > > git is one. > >

Re: toolbars Lock menu

2016-07-09 Thread José Abílio Matos
On Saturday, July 9, 2016 2:42:11 PM WEST racoon wrote: > By the way, since I have never worked on a project like LyX, if anyone > has tips on how to work effectively, I am pleased to know. I guess using > git is one. The first step is to read: http://www.lyx.org/Development where there are doc

Re: toolbars Lock menu

2016-07-09 Thread racoon
On 09.07.2016 14:36, racoon wrote: On 09.07.2016 13:48, Guillaume Munch wrote: Le 08/07/2016 15:10, racoon a écrit : On 08.07.2016 08:17, racoon wrote: On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibil

Re: toolbars Lock menu

2016-07-09 Thread racoon
On 09.07.2016 13:48, Guillaume Munch wrote: Le 08/07/2016 15:10, racoon a écrit : On 08.07.2016 08:17, racoon wrote: On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibility. Okay, got it (via QSettings).

Re: toolbars Lock menu

2016-07-09 Thread Guillaume Munch
Le 08/07/2016 15:10, racoon a écrit : On 08.07.2016 08:17, racoon wrote: On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibility. Okay, got it (via QSettings). I was just a bit confused because the visibi

Re: toolbars Lock menu

2016-07-08 Thread racoon
Okay, next maybe a new LFUN? Not sure I understand fully what I am doing... and it should be "movable" and not "moveable". In LyXAction.cpp: ... void LyXAction::init() { ... ev_item const items[] = { #endif ... /*! * \var lyx::FuncCode lyx::LFUN_TOOLBAR_MO

Re: toolbars Lock menu

2016-07-08 Thread racoon
On 08.07.2016 08:17, racoon wrote: On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibility. Okay, got it (via QSettings). I was just a bit confused because the visibility is also (somewhat) stored in the p

Re: toolbars Lock menu

2016-07-07 Thread racoon
On 07.07.2016 14:41, racoon wrote: Can someone give me a hint where LyX stores the individual toolbars' properties, i.e. position and visibility. Okay, got it (via QSettings). I was just a bit confused because the visibility is also (somewhat) stored in the preferences file. Daniel

Re: Toolbars positions wrong

2008-08-29 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Yep, known bug in Qt4: http://bugzilla.lyx.org/show_bug.cgi?id=4967 http://www.trolltech.com/developer/task-tracker/index_html?id=224116&method=entry cool, in 4.4.2 will be fixed. That's just a target, the guy at TT told me he'd try but don't take that f

Re: Toolbars positions wrong

2008-08-29 Thread Pavel Sanda
Abdelrazak Younes wrote: > Yep, known bug in Qt4: > http://bugzilla.lyx.org/show_bug.cgi?id=4967 > http://www.trolltech.com/developer/task-tracker/index_html?id=224116&method=entry cool, in 4.4.2 will be fixed. p

Re: Toolbars positions wrong

2008-08-29 Thread Abdelrazak Younes
hi, there seems to be some bug wrt saving position of toolbars - when i take toolbar and put one after another (see screenshot 1), lyx saves for next run correctly the line, but not the position (screenshot 2). Abdel do you have an idea whats goin on? i vaguelly remember this worked correctly e

Re: Toolbars

2008-07-29 Thread Pavel Sanda
Pavel Sanda wrote: > hi, > i tried to mimic the way how View/Update toolbar is done (see attached). > menu item for added toolbar is checked but nothing new in toolbar, toggling > does > nothing. Abdel, do you have an idea which code is responsible for binding statusbar messages and toolbar icon

Re: Toolbars

2008-07-29 Thread Pavel Sanda
Abdelrazak Younes wrote: >> yes, this helped :) but anyway where is this saved? i tried to move the >> whole .lyx directory and it didn't help, so i guess its somewhere under >> qt authority, right? > > On Unix systems, this should be in $HOME/.config/LyX yes, i see :) >> does this also mean, t

Re: Toolbars

2008-07-29 Thread Abdelrazak Younes
Pavel Sanda wrote: Abdelrazak Younes wrote: Pavel Sanda wrote: hi, i tried to mimic the way how View/Update toolbar is done (see attached). menu item for added toolbar is checked but nothing new in toolbar, toggling does nothing. i couldn't grep a single place in our source which dea

Re: Toolbars

2008-07-29 Thread Pavel Sanda
Abdelrazak Younes wrote: > Pavel Sanda wrote: >> hi, >> i tried to mimic the way how View/Update toolbar is done (see attached). >> menu item for added toolbar is checked but nothing new in toolbar, >> toggling does >> nothing. >> >> i couldn't grep a single place in our source which deal with vie

Re: Toolbars

2008-07-29 Thread Abdelrazak Younes
Pavel Sanda wrote: hi, i tried to mimic the way how View/Update toolbar is done (see attached). menu item for added toolbar is checked but nothing new in toolbar, toggling does nothing. i couldn't grep a single place in our source which deal with view/update, so i i tried to rename "view/update"

Re: Toolbars menu

2008-06-02 Thread Abdelrazak Younes
Pavel Sanda wrote: Abdelrazak Younes wrote: Pavel Sanda wrote: hi, view->toolbars is overpopulated now. some two weeks later it was ok, so i guess either toolbars or getstatus refactoring introduced the problem. Yes this is introduced by my refactoring. I happen to like to h

Re: Toolbars menu

2008-06-02 Thread Pavel Sanda
Abdelrazak Younes wrote: > Pavel Sanda wrote: >> hi, >> >> view->toolbars is overpopulated now. some two weeks later it was ok, >> so i guess either toolbars or getstatus refactoring introduced the >> problem. >> > Yes this is introduced by my refactoring. I happen to like to have access > to

Re: Toolbars menu

2008-06-01 Thread Abdelrazak Younes
Pavel Sanda wrote: hi, view->toolbars is overpopulated now. some two weeks later it was ok, so i guess either toolbars or getstatus refactoring introduced the problem. Yes this is introduced by my refactoring. I happen to like to have access to all these hidden toolbar personnally. What I co

Re: Toolbars colors makes them unusable

2007-09-03 Thread Rainer Dorsch
Hi Pavel, Am Montag, 3. September 2007 14:35 schrieb Pavel Sanda: > hi, > > you systematicaly ignore my question what happens if you try to login > with 'ssh -YC' on SLES. actually I tried that, but I apparently forgot to mention that this makes no difference. > > > On the etch machine, I get

Re: Toolbars colors makes them unusable

2007-09-03 Thread Pavel Sanda
hi, you systematicaly ignore my question what happens if you try to login with 'ssh -YC' on SLES. > On the etch machine, I get a few warnings on the command line, but the colors > look ok: ok, i capitulate ;) X seems to be ok. > On the SLES machine I cannot try, because it has not graphics ada

Re: Toolbars colors makes them unusable

2007-09-03 Thread Rainer Dorsch
Am Montag, 3. September 2007 14:17 schrieb Stephan Witt: > Rainer Dorsch schrieb: > > Am Montag, 3. September 2007 12:19 schrieb Stephan Witt: > >> Rainer Dorsch schrieb: > >>> Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda: > > I run lyx remove on the SLES9 machine and connect from a De

Re: Toolbars colors makes them unusable

2007-09-03 Thread Stephan Witt
Rainer Dorsch schrieb: Am Montag, 3. September 2007 12:19 schrieb Stephan Witt: Rainer Dorsch schrieb: Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda: I run lyx remove on the SLES9 machine and connect from a Debian etch machine with SSH. ssh -X or ssh -Y ? I have also lyx 1.4.3 on th

Re: Toolbars colors makes them unusable

2007-09-03 Thread Rainer Dorsch
Am Montag, 3. September 2007 12:54 schrieb Pavel Sanda: > what happens if you do something like: > $ ssh -X localhost > $ lyx On the etch machine, I get a few warnings on the command line, but the colors look ok: $ lyx Color::getFromLyXName: Unknown color "top" Color::getFromLyXName: Unknown col

Re: Toolbars colors makes them unusable

2007-09-03 Thread Rainer Dorsch
Am Montag, 3. September 2007 12:19 schrieb Stephan Witt: > Rainer Dorsch schrieb: > > Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda: > >>> I run lyx remove on the SLES9 machine and connect from a Debian etch > >>> machine with SSH. > >> > >> ssh -X or ssh -Y ? > >> > >>> I have also lyx 1.4

Re: Toolbars colors makes them unusable

2007-09-03 Thread Pavel Sanda
> > ssh -X or ssh -Y ? ^^^^ have you tried both ? > > > lyx 1.4.3 is linked against QT3. > > > > > > Do you know which X setting is affected and how I could check that (or a > > > term to google for)? > > > > i would search for Depth in your xorg.conf. > > Hmmm...I do not yet und

Re: Toolbars colors makes them unusable

2007-09-03 Thread Stephan Witt
Rainer Dorsch schrieb: Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda: I run lyx remove on the SLES9 machine and connect from a Debian etch machine with SSH. ssh -X or ssh -Y ? I have also lyx 1.4.3 on the SLES9 machine, this one runs in the same session flawless. lyx 1.4.3 is linked

Re: Toolbars colors makes them unusable

2007-09-03 Thread Rainer Dorsch
Am Freitag, 31. August 2007 19:50 schrieb Pavel Sanda: > > I run lyx remove on the SLES9 machine and connect from a Debian etch > > machine with SSH. > > ssh -X or ssh -Y ? > > > I have also lyx 1.4.3 on the SLES9 machine, this one runs in the same > > session flawless. > > > > lyx 1.4.3 is linked

Re: Toolbars colors makes them unusable

2007-08-31 Thread Pavel Sanda
> I run lyx remove on the SLES9 machine and connect from a Debian etch machine > with SSH. ssh -X or ssh -Y ? > I have also lyx 1.4.3 on the SLES9 machine, this one runs in the same session > flawless. > > lyx 1.4.3 is linked against QT3. > > Do you know which X setting is affected and how I

Re: Toolbars colors makes them unusable

2007-08-31 Thread Rainer Dorsch
Am Freitag, 31. August 2007 19:03 schrieb Pavel Sanda: > > Is there anything I might be missing? > > i experience such effects with lyx when connecting somewhere through vnc. > it may have something to do with X settings (# of colors etc.) > I run lyx remove on the SLES9 machine and connect from a

Re: Toolbars colors makes them unusable

2007-08-31 Thread Pavel Sanda
> Is there anything I might be missing? i experience such effects with lyx when connecting somewhere through vnc. it may have something to do with X settings (# of colors etc.) pavel

Re: Toolbars

2006-11-03 Thread Michael Gerz
Bo Peng wrote: ./MenuBackend.C: docstring label = char_type(uppercase(cit->name[0])) + _(cit->name.substr(1)); You apply _(...) to a substring that is not defined in the po files. I guess the problem was: tomenu.add(MenuItem(MenuItem::Command, label,

Re: Toolbars

2006-11-03 Thread Bo Peng
./MenuBackend.C: docstring label = char_type(uppercase(cit->name[0])) + _(cit->name.substr(1)); You apply _(...) to a substring that is not defined in the po files. I guess the problem was: tomenu.add(MenuItem(MenuItem::Command, label,

Re: Toolbars

2006-11-03 Thread Bo Peng
Ahhh... wait... there is a localization problem! If I switch from German to English interface, everything works perfectly. I guess there is one _(...) to much in the code! I only have an English environment so I can not test. Anyway, maybe you can tell what goes wrong: 1. src/MenuBackend.C, lin

Re: Toolbars

2006-11-03 Thread Michael Gerz
Michael Gerz wrote: Ahhh... wait... there is a localization problem! If I switch from German to English interface, everything works perfectly. I guess there is one _(...) to much in the code! Bo, this will probably not work (not related to the problem above): ./MenuBackend.C:

Re: toolbars

2003-03-10 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Fri, Mar 07, 2003 at 08:08:35PM +0100, Alfredo Braunstein John> wrote: >> OT, but talking about toolbars, what happened to the math/table >> toolbars? Will they become default or something? John> We've had some discussion about this

Re: toolbars

2003-03-07 Thread Allan Rae
On Sat, 8 Mar 2003, John Levon wrote: > But the thing *does* cycle !! And _your_ problem is? (...recorded in the mail archives somewhere) Allan. (ARRae) Cycling environment depth ROCKS!

Re: toolbars

2003-03-07 Thread John Levon
On Sat, Mar 08, 2003 at 05:11:50PM +1000, Allan Rae wrote: > Did the suggested arrow look like a triangle? If you > thought so then you need to go to bed now. Do not attempt to drive. Errmmm OK fair point. > The "association" I spoke of was that people will realise that > something similar is

Re: toolbars

2003-03-07 Thread Allan Rae
On Sat, 8 Mar 2003, John Levon wrote: > On Sat, Mar 08, 2003 at 04:41:48PM +1000, Allan Rae wrote: > > > Most Westernised folks at least will be familiar with the "recycle" > > triangle. It's a small jump to make a similar association here. > > But we cannot have just a recycle triangle, users as

Re: toolbars

2003-03-07 Thread John Levon
On Sat, Mar 08, 2003 at 04:41:48PM +1000, Allan Rae wrote: > Most Westernised folks at least will be familiar with the "recycle" > triangle. It's a small jump to make a similar association here. But we cannot have just a recycle triangle, users associate it with "re-something". We are not "recyc

Re: toolbars

2003-03-07 Thread Allan Rae
On Sat, 8 Mar 2003, John Levon wrote: > On Sat, Mar 08, 2003 at 03:40:47PM +1000, Allan Rae wrote: > > > redraw the arrow as a cycle? > > > > /->-\ > > | | > > \-<-/ > > > > (hopefully a little prettier than this nightmare) > > Step back a minute. Do you seriously, honestly, think anybody is

Re: toolbars

2003-03-07 Thread John Levon
On Sat, Mar 08, 2003 at 03:40:47PM +1000, Allan Rae wrote: > redraw the arrow as a cycle? > > /->-\ > | | > \-<-/ > > (hopefully a little prettier than this nightmare) Step back a minute. Do you seriously, honestly, think anybody is going to know what on earth that means ? > Better yet, j

Re: toolbars

2003-03-07 Thread Allan Rae
On Fri, 7 Mar 2003, John Levon wrote: > On Fri, Mar 07, 2003 at 08:23:01PM +0100, Alfredo Braunstein wrote: > > > It could also become cyclic. > > It used to be (which explains why there was only one icon there in the > first place) but that's really not good UI (see the list archives) UI smUI.

Re: toolbars

2003-03-07 Thread Alfredo Braunstein
John Levon wrote: >> It could also become cyclic. > It used to be (which explains why there was only one icon there in the > first place) but that's really not good UI (see the list archives) I knew I've taken the idea from somewhere ;) > yep ... or just see if we can borrow some people from th

Re: toolbars

2003-03-07 Thread John Levon
On Fri, Mar 07, 2003 at 08:23:01PM +0100, Alfredo Braunstein wrote: > It could also become cyclic. It used to be (which explains why there was only one icon there in the first place) but that's really not good UI (see the list archives) > We could try to setup some kind of contest. yep ... or

Re: toolbars

2003-03-07 Thread Alfredo Braunstein
> I've removed it from the toolbar altogether in my new.ui. Rationale - > it's no more likely to be used than decrement environment depth, the > icon is entirely unclear, there are good shortcuts for this. It could also become cyclic. > An alternative would be to make good icons, and include decr

Re: toolbars

2003-03-07 Thread John Levon
On Fri, Mar 07, 2003 at 08:08:35PM +0100, Alfredo Braunstein wrote: > OT, but talking about toolbars, what happened to the math/table toolbars? > Will they become default or something? We've had some discussion about this and JMarc has some plans. Can somebody send me the latest versions ? > A