Hello Oliver,
panning is now much better under control. It,s really smooth now.

Greetz

Am 20.10.15 21:25, schrieb Oliver Eichler:
>Hi Herbert,
>
>ok, I applied a factor of 0.25. Let's see how it works. 
>
>Oliver
>
>Am Montag, 19. Oktober 2015, 21:47:21 schrieb teiwaz:
>> Am 19.10.2015 um 20:17 schrieb Oliver Eichler:
>> > Hi Herbert,
>> > 
>> > I have to admit I am pretty undecided about this. Usually I am always
>> > in favor of patches sent to me. And I agree with you that panning is a
>> > bit hard to control right now.
>> > 
>> > But on the other hand side I know that users don't like too many
>> > dialogs to setup things. And especially not about parameters hard to
>> > understand.
>> > 
>> > I played around with your patch for quite a while and it's hard to get
>> > a feeling on how to setup the best value. Probably this is because the
>> > algorithm I use is bad. With or without your patch.
>> > 
>> > I have a cloudy idea of accelerating panning as a function of distance
>> > to the screen border and time. And stopping it immediately if the
>> > mouse is moved the other direction. But it's just a vague idea.
>> > 
>> > What we can do, as long as there are only vague ideas around, is to
>> > define a fixed value to scale it. Probably you have found your
>> > favorite scale factor by now. Why not use this as long as there is no
>> > better idea?
>> 
>> I would prefer a factor lower than 50 %, perhaps 30 - 20.
>> May be there are some other drawbacks with such a low factor but I did
>> not see one at the moment
>> Herbert
>> 
>> > Oliver
>> > 
>> > Am Sonntag, 18. Oktober 2015, 13:44:54 schrieb teiwaz:
>> > > Hi Oliver
>> > > 
>> > > 
>> > > 
>> > > for me the hard sensitivity adjustment of the panning is also sometimes
>> > > 
>> > > a problem. A little to fast move to the border throws me often to a
>> > > 
>> > > complete new region.
>> > > 
>> > > 
>> > > 
>> > > So I took your advice and tried to find a solution:
>> > > 
>> > > I factorized the respective statement in IMouse::panCanvas():
>> > > 
>> > > int d = (SENSITIVE_FRAME - pos.x()) * PanSensitivity;
>> > > 
>> > > This was a fast and may be not the best solution but it provide
>> > > 
>> > > satisfactory results for me.
>> > > 
>> > > 
>> > > 
>> > > I dont think that this is a general solution for everyone, some people
>> > > 
>> > > may estimate the severe sensitivity, so I propose to make it adjustable
>> > > 
>> > > via a submenu in the main windows View menu.
>> > > 
>> > > 
>> > > 
>> > > I implemented a proposal into a copy of the current version (today,
>> > > 
>> > > 11:50) and now send a patch to you together with the sources to add.
>> > > 
>> > > Please review the changes and tell me your opinion.
>> > > 
>> > > I introduced the files
>> > > 
>> > > CPanningSetup.cpp/h, IPanningSetup.ui and a new icon for the Setup
>> > > 
>> > > Panning Menu Entry :-)
>> > > 
>> > > and I modified
>> > > 
>> > > IMouse.cpp/h, CMainWindow.cpp, IMainWindow.ui, CMakeLists.txt
>> > > 
>> > > 
>> > > 
>> > > For lack of a better idea I defined the PanSensitivity factor as a
>> > > 
>> > > static variable in IMouse to be able to change its value whenever the
>> > > 
>> > > "Setup Panning" menu is instantiated.
>> > > 
>> > > 
>> > > 
>> > > PanSensitivity is 1 by default, so there is no effect without a
>> > > 
>> > > different adjustment by the user.
>> > > 
>> > > 
>> > > 
>> > > Herbert
>> > > 
>> > > Am 13.09.2015 um 19:18 schrieb Oliver 
>> > > Eichler:------------------------------------------------------------------------------


------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to