Re: Patch to add pref control for mouse wheel zoom

2010-07-17 Thread Pavel Sanda
Stephan Witt wrote: > I propose to add the LyXRC variable RC_SCROLL_WHEEL_ZOOM to add some control > for the user. > The patch is attached. The questions I have: > * need to care for i18n - something to provide? i dont think so. > * if the current behaviour is the default, should I care for lyxr

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Stephan Witt
Am 15.07.2010 um 15:42 schrieb Pavel Sanda: > Stephan Witt wrote: >> 1. I had to learn that cmake dependencies are not correct for ui file >> generation - at least with XCode. >> To make changes visible I have to build it twice. Since it is black magic >> and I want to concentrate on content I w

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Pavel Sanda
Stephan Witt wrote: > 1. I had to learn that cmake dependencies are not correct for ui file > generation - at least with XCode. > To make changes visible I have to build it twice. Since it is black magic and > I want to concentrate on content I would be glad if some cmake-magician can > correct

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Jürgen Spitzmüller
Stephan Witt wrote: > I did expect it. But as said I have no plan B except to leave cua bindings > untouched. Any other proposals? Leaving it untouched sounds good. Jürgen

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Stephan Witt
Am 15.07.2010 um 10:46 schrieb Kornel Benko: > Am Donnerstag 15 Juli 2010 schrieb Jürgen Spitzmüller: >> Stephan Witt wrote: >>> One side effect is questionable: C-minus was "specialchar-insert >>> hyphenation" in text mode. This is moved to C-S-underscore now. I like >>> that move >> >> I don't.

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Kornel Benko
Am Donnerstag 15 Juli 2010 schrieb Jürgen Spitzmüller: > Stephan Witt wrote: > > One side effect is questionable: C-minus was "specialchar-insert > > hyphenation" in text mode. This is moved to C-S-underscore now. I like > > that move > > I don't. > > Jürgen I don't like it too. Using too often

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Jürgen Spitzmüller
Stephan Witt wrote: > One side effect is questionable: C-minus was "specialchar-insert > hyphenation" in text mode. This is moved to C-S-underscore now. I like > that move I don't. Jürgen

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Stephan Witt
Am 15.07.2010 um 09:22 schrieb Stephan Witt: > Am 15.07.2010 um 02:46 schrieb BH: > >> On Wed, Jul 14, 2010 at 1:18 PM, Pavel Sanda wrote: >>> i dont use macros myself so i really have no idea how is this unfold macro >>> important. >> >> Same for me on math macros. But I agree with minus/plus

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-15 Thread Stephan Witt
Am 15.07.2010 um 02:46 schrieb BH: > On Wed, Jul 14, 2010 at 1:18 PM, Pavel Sanda wrote: >> i dont use macros myself so i really have no idea how is this unfold macro >> important. > > Same for me on math macros. But I agree with minus/plus for zoom > out/in: that's the Mac standard. Thanks. I

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread BH
On Wed, Jul 14, 2010 at 1:18 PM, Pavel Sanda wrote: > i dont use macros myself so i really have no idea how is this unfold macro > important. Same for me on math macros. But I agree with minus/plus for zoom out/in: that's the Mac standard. BH

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Stephan Witt
- even in the math users >>>> guide I couldn't find an example. >>>> So I guess it's not common to fold or unfold a macro and we may change >>>> that binding. >>>> >>>> A little bit smarter solution would be to move the math bindi

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Stephan Witt
Ctrl-plus to zoom-in and Ctrl-minus to zoom-out (like firefox binding). >>> >>> I couldn't manage to fold/unfold a math macro - even in the math users >>> guide I couldn't find an example. >>> So I guess it's not common to fold or unfold a ma

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Pavel Sanda
Stephan Witt wrote: > As said, I propose to change that for other archs too. i dont use macros myself so i really have no idea how is this unfold macro important. pavel

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Stephan Witt
d a math macro - even in the math users guide >> I couldn't find an example. >> So I guess it's not common to fold or unfold a macro and we may change that >> binding. >> >> A little bit smarter solution would be to move the math binding to >> Ctrl-Sh

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Pavel Sanda
to move the math binding to > Ctrl-Shift-plus (asterisk) resp. Ctrl-Shift-minus (underscore). no opinion (btw we already have binding for zooming (ctrl+mouse wheel)) pavel

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Stephan Witt
Am 14.07.2010 um 17:33 schrieb Pavel Sanda: > Stephan Witt wrote: >> Am 09.07.2010 um 20:37 schrieb LyX Ticket Tracker: >> >>> #6740: Zoom using mouse wheel conflicts with momentum scrolling >>> --+

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Pavel Sanda
Stephan Witt wrote: > Am 09.07.2010 um 20:37 schrieb LyX Ticket Tracker: > > > #6740: Zoom using mouse wheel conflicts with momentum scrolling > > --+- > > Reporter: theophys | Owner: stwitt

Re: #6740: Zoom using mouse wheel conflicts with momentum scrolling

2010-07-14 Thread Stephan Witt
Am 09.07.2010 um 20:37 schrieb LyX Ticket Tracker: > #6740: Zoom using mouse wheel conflicts with momentum scrolling > --+- > Reporter: theophys | Owner: stwitt > Type: defect| Statu

Re: FindAdv - Font update on Ctrl + mouse-wheel

2010-01-06 Thread Tommaso Cucinotta
Abdelrazak Younes wrote: Tommaso Cucinotta wrote: Hello, when zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed

Re: FindAdv - Font update on Ctrl + mouse-wheel

2010-01-06 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Hello, when zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing

FindAdv - Font update on Ctrl + mouse-wheel

2010-01-06 Thread Tommaso Cucinotta
Hello, when zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing action. The attached pa

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Pavel Sanda
Yes, probably you can change that system- or user-wide somewhere. But it's not obvious: I just tried to find out for a few minutes and didn't find any GUI for that. >>> Qt4Config>Interface>Wheel Scroll Lines >> >> Either it does not exist on mac or I don't have it installed...

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Richard Heck
Stefan Schimanski wrote: Yes, probably you can change that system- or user-wide somewhere. But it's not obvious: I just tried to find out for a few minutes and didn't find any GUI for that. Qt4Config>Interface>Wheel Scroll Lines Either it does not exist on mac or I don't have it installed..

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Stefan Schimanski
Yes, probably you can change that system- or user-wide somewhere. But it's not obvious: I just tried to find out for a few minutes and didn't find any GUI for that. Qt4Config>Interface>Wheel Scroll Lines Either it does not exist on mac or I don't have it installed... Stefan

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Richard Heck
Stefan Schimanski wrote: Am 30.01.2008 um 18:44 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! Attached is a patch which adds a setting to change the scrolling speed of the mouse wheel. I always had the feeling that this is far to fast in LyX (compared to other applications). This

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Stefan Schimanski
Am 30.01.2008 um 18:44 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! Attached is a patch which adds a setting to change the scrolling speed of the mouse wheel. I always had the feeling that this is far to fast in LyX (compared to other applications). This might come from the Qt

Re: Setting for mouse wheel scrolling speed

2008-01-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! Attached is a patch which adds a setting to change the scrolling speed of the mouse wheel. I always had the feeling that this is far to fast in LyX (compared to other applications). This might come from the Qt wheelScrollLines setting which is set to 3 here for

Setting for mouse wheel scrolling speed

2008-01-30 Thread Stefan Schimanski
Hi! Attached is a patch which adds a setting to change the scrolling speed of the mouse wheel. I always had the feeling that this is far to fast in LyX (compared to other applications). This might come from the Qt wheelScrollLines setting which is set to 3 here for all Mac Qt

Re: Bug: qt4 mouse wheel scrolling

2006-08-15 Thread Abdelrazak Younes
Peter Kümmel wrote: Scrolling with the mouse wheel does not work for the qt4 frontend. Is this a bug of GuiWorkArea? No I think it's a general bug of the scrolling (most probably my fault). Setting "Cursor follows scrolling" in the preference settings should help. Abdel.

Bug: qt4 mouse wheel scrolling

2006-08-04 Thread Peter Kümmel
Scrolling with the mouse wheel does not work for the qt4 frontend. Is this a bug of GuiWorkArea? Peter

[patch] Make mouse wheel work with xforms again.

2004-08-01 Thread Lars Gullik Bjønnes
1,6 @@ void LyXText::dispatch(LCursor & cur, Fu } case LFUN_MOUSE_RELEASE: { - // do nothing if we used the mouse wheel - if (cmd.button() == mouse_button::button4 - || cmd.button() == mouse_button::button5) { - cur.undispatched(); - break; - } - selection_possible = false;

Re: mouse wheel

2004-05-17 Thread Alfredo Braunstein
Angus Leeming wrote: >> Scroll with the mouse wheel without "cursor follows scrollbar" is >> severely broken in xforms. The qt version works because scroll >> doesn't get through LyX dispatch mechanism. > > Then is a possible solution to prevent the xfo

Re: mouse wheel

2004-05-17 Thread Angus Leeming
Alfredo Braunstein wrote: > Scroll with the mouse wheel without "cursor follows scrollbar" is > severely broken in xforms. The qt version works because scroll > doesn't get through LyX dispatch mechanism. Then is a possible solution to prevent the xforms frontend from dis

mouse wheel

2004-05-15 Thread Alfredo Braunstein
Scroll with the mouse wheel without "cursor follows scrollbar" is severely broken in xforms. The qt version works because scroll doesn't get through LyX dispatch mechanism. In xforms 1) mouse button 4 & 5 (mouse wheel) open collapsibles (because they get dispatched to the tip i

Re: [PATCH] Update of de.po + Mouse wheel

2003-01-15 Thread Jean-Marc Lasgouttes
>>>>> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes: Michael> Hi Jean Marc, enclosed please find minor update of de.po + Michael> the outstanding mouse wheel patch. Please commit the changes. I applied the de.po patch. JMarc

[PATCH] Update of de.po + Mouse wheel

2003-01-13 Thread Michael Schmitt
Hi Jean Marc, enclosed please find minor update of de.po + the outstanding mouse wheel patch. Please commit the changes. TIA, Michael Index: lyx-devel-1.3.0cvs/po/de.po === RCS file: /cvs/lyx/lyx-devel/po/de.po,v retrieving

Re: [PATCH] Trivial stuff (mathed & mouse wheel scrolling)

2003-01-13 Thread Andre Poenitz
On Mon, Jan 13, 2003 at 11:09:11AM +, Angus Leeming wrote: > >2. Make CTRL-Pos1/End behave a little bit more intuitive > > (Patch suggested by Andre) > > I won't commit this but leave it for André. (Insufficient knowledge.) I haven't seen the patch, but if this is 'go left instead o

Re: [PATCH] Trivial stuff (mathed & mouse wheel scrolling)

2003-01-13 Thread Angus Leeming
On Thursday 09 January 2003 7:16 pm, Michael Schmitt wrote: > Dear Lars, Jean-Marc, > > please apply the following two patches: > >1. Change default value and description of mouse wheel jump > (John thinks it is OK) I'll commit this. >2. Make CTRL-Pos1/En

[PATCH] Trivial stuff (mathed & mouse wheel scrolling)

2003-01-09 Thread Michael Schmitt
Dear Lars, Jean-Marc, please apply the following two patches: 1. Change default value and description of mouse wheel jump (John thinks it is OK) 2. Make CTRL-Pos1/End behave a little bit more intuitive (Patch suggested by Andre) Michael Index: lyx-devel-1_3_X//src/ChangeLog

[PATCH] Mouse wheel jump

2003-01-07 Thread Michael Schmitt
Hi, here comes a tiny patch that clarifies the new meaning of "mouse wheel jump" (a native speaker should check whether this is correct English). Please apply, Michael Index: lyx-devel-1_3_X//src/ChangeLog === RCS file

Mouse wheel

2002-12-20 Thread Michael Schmitt
Hi, it seems like the wheel mouse parameter in the preferences dialog indeed specifies the number of lines to skip and not the percentage of the screen. I will fix the German description of the paramter occasionally but IMHO the original english description is also misleading... Michael

Re: Scrolling by mouse wheel is broken

2002-12-19 Thread Alfredo Braunstein
Juergen Spitzmueller wrote: > Alfredo Braunstein wrote: >> > For me it works ok, scrolling 4 o 5 lines at a time. I can confirm that >> > the value on preferences seems be ignored, though. >> >> This was on QT. > > I guess you have to make the wheel mouse lyxrc noticed by > QContentPane::wheelEve

Re: Scrolling by mouse wheel is broken

2002-12-18 Thread Juergen Spitzmueller
Alfredo Braunstein wrote: > > For me it works ok, scrolling 4 o 5 lines at a time. I can confirm that > > the value on preferences seems be ignored, though. > > This was on QT. I guess you have to make the wheel mouse lyxrc noticed by QContentPane::wheelEvent Jürgen.

Re: Scrolling by mouse wheel is broken

2002-12-18 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > [EMAIL PROTECTED] wrote: > >> Hi, >> >> if I browse through a LyX document with the mouse wheel, the cursor >> makes >> jumps of about 2 or 3 pages. I have tried to change the preferences >> (e.g. scroll by only 30% of the pa

Re: Scrolling by mouse wheel is broken

2002-12-18 Thread Alfredo Braunstein
[EMAIL PROTECTED] wrote: > Hi, > > if I browse through a LyX document with the mouse wheel, the cursor > makes > jumps of about 2 or 3 pages. I have tried to change the preferences > (e.g. scroll by only 30% of the page) but the setting seems to be > ignored. For me it work

Scrolling by mouse wheel is broken

2002-12-17 Thread michael . schmitt
Hi, if I browse through a LyX document with the mouse wheel, the cursor makes jumps of about 2 or 3 pages. I have tried to change the preferences (e.g. scroll by only 30% of the page) but the setting seems to be ignored. Could anybody please confirm this bug? (Or even better: Fix it?) I use the

Mouse wheel also closes environment menu

2002-10-06 Thread Darren Freeman
Dear list, As per my post about the mouse wheel closing open file dialogues, it also closes the environment menu. This is going to be a real off-putter as my instinct is to scroll with the wheel... So it takes several attempts to get it right, I can't just "not use the wheel&quo

Re: mouse wheel problem with lyx-1.3CVS

2002-07-11 Thread John Levon
On Thu, Jul 11, 2002 at 02:13:00PM +0200, Juergen Vigna wrote: > > float add_value = float(workarea_.height()) * float(time) / 100; > > That outcommented code was put in there from myself to fix the IMO > wrong scrolling algorithm, but Lars didn't like it. So I left it there > until we can

Re: mouse wheel problem with lyx-1.3CVS

2002-07-11 Thread Juergen Vigna
John Levon wrote: > > Hmm, yes. The problem is obvious. Can somebody explain what units > lyxrc.wheel_jump is supposed to be in, and I can fix it ? > > 420 double const diff = t->defaultHeight() > 421 + double(time) * double(time) * 0.125; > 422 > 423

Re: mouse wheel problem with lyx-1.3CVS

2002-07-10 Thread John Levon
On Fri, Jul 05, 2002 at 07:52:50PM +0200, geof wrote: > When I focus on lyx and play with the wheel I get : > > ... > scrollDocView of 1272 <-- > screen: drawFromTo 414-414 > expose 667x0+0+414 > scroll: height now 1492 > scroll: work_height 414 > Workarea event: RELEASE > Workarea event

Re: mouse wheel problem with lyx-1.3CVS

2002-07-05 Thread geof
On Friday 05 July 2002 18:40, John Levon wrote: > On Fri, Jul 05, 2002 at 06:43:00PM +0200, geof wrote: > > Mouse wheel doesn't work with lyx-1.3CVS compiled with gcc-3.1. > > This problem doesn't appear with lyx-1.2CVS (gcc-3.1). > > Any suggestion ? > > &quo

Re: mouse wheel problem with lyx-1.3CVS

2002-07-05 Thread John Levon
On Fri, Jul 05, 2002 at 06:43:00PM +0200, geof wrote: > Mouse wheel doesn't work with lyx-1.3CVS compiled with gcc-3.1. > This problem doesn't appear with lyx-1.2CVS (gcc-3.1). > Any suggestion ? "lyx -dbg any" output please. I shouldn't have broken anytthing

mouse wheel problem with lyx-1.3CVS

2002-07-05 Thread geof
Mouse wheel doesn't work with lyx-1.3CVS compiled with gcc-3.1. This problem doesn't appear with lyx-1.2CVS (gcc-3.1). Any suggestion ? geoffroy -- ~ 'v'mailto: gpiroux_at_mac_dot_com // \\ Powered by GNU/Linux-ppc /( )\ http://lfs.linux-provider.net/ #112 ^'^

Re: About the mouse-wheel

2000-07-05 Thread Jean-Marc Lasgouttes
> "edscott" == edscott <[EMAIL PROTECTED]> writes: edscott> The behaviour ot the wheel in 1.1.4 (scrolling up and down a edscott> line at a time) was different from how 1.1.5 behaves(a full edscott> page at a time). Although a full page at a time would be edscott> better for reading a docume

Re: About the mouse-wheel

2000-07-03 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> "Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes: | > I am Lars> including a patch | > which gives the enduser the option of Lars> controling the wheel movement from the | > lyxrc file, so it can Lars> be defined as in 1.1

Re: About the mouse-wheel

2000-07-02 Thread Lars Gullik Bjønnes
"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes: | > I am including a patch | > which gives the enduser the option of controling the wheel movement from the | > lyxrc file, so it can be defined as in 1.1.4 or 1.1.5(default). | | The patch looks good. Did anybody apply it? Not yet, but I a

Re: About the mouse-wheel

2000-07-02 Thread Asger K. Alstrup Nielsen
> I am including a patch > which gives the enduser the option of controling the wheel movement from the > lyxrc file, so it can be defined as in 1.1.4 or 1.1.5(default). The patch looks good. Did anybody apply it? Greets, Asger

About the mouse-wheel

2000-06-28 Thread edscott
The behaviour ot the wheel in 1.1.4 (scrolling up and down a line at a time) was different from how 1.1.5 behaves(a full page at a time). Although a full page at a time would be better for reading a document, for writing/rewriting one line at a time works better (IMHO). I am including a patch wh