English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 21 January 2018, 18:09   #1
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Mouse wheel support for OS3.9 UI

Maybe I forgot this... but is there a patch to add mouse wheel support to OS39 UI (ClassAction)? I'm currently using WinUAE with OS3.9...
hexaae is offline  
Old 21 January 2018, 18:12   #2
honx
Registered User
 
honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
classaction is the one and only ui element i never was able to find mousewheel support for.
freewheel and muiwheel work for everything else including mui. but nothing works for classaction.
honx is offline  
Old 22 January 2018, 05:35   #3
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,641
That is not quite correct; eg. the MCE and Report+ programs, among others, are ReAction-based programs with mouse wheel support.

The gadgets themselves don't do anything with mouse wheel messages (eg. NM_WHEEL_DOWN) but the application can listen for them and take an appropriate action. This allows flexibility in how such events are handled.

Still, it would be good if FreeWheel supported ReAction, to take some sensible default action (eg. scroll) for RA applications that don't have their own wheel handling.

Last edited by Minuous; 22 January 2018 at 06:15.
Minuous is offline  
Old 22 January 2018, 20:35   #4
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Yes, would be great if FreeWheel supported ReAction/ClassAct..
I've seen sources (for VBCC 0.7) are included...
http://m68k.aminet.net/package/util/mouse/FreeWheel

Maybe one day one volunteer will be able to integrate support for the official OS3.5/9 UI too

EDIT:
Unfortunately there is a note by the FreeWheel dev about this in the guide:

ClassAct:
Again, WheelMouse can't recognise the scrollbars generated by these
GUI toolkits. As with MUI, programs which respond to cursor-key
movements will work. If you want to see support for wheelmouse events
in these packages, pester the authors; adding wheelmouse support should
be very very easy for someone with access to the sourcecode, and very
very hard without!

Last edited by hexaae; 22 January 2018 at 20:44.
hexaae is offline  
Old 22 January 2018, 21:11   #5
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by Minuous View Post
Still, it would be good if FreeWheel supported ReAction
To me with FreeWheel the mousewheel on NetSurf "ReAction" (by Chris Young) it works.
AMIGASYSTEM is offline  
Old 22 January 2018, 21:22   #6
honx
Registered User
 
honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
Quote:
Originally Posted by AMIGASYSTEM View Post
To me with FreeWheel the mousewheel on NetSurf "ReAction" (by Chris Young) it works.
well, good for netsurf. but what about all other reaction based programs?
netsurf itsself supports mousewheel, this has nothing to do with reaction.
as minuous said already:
Quote:
Originally Posted by Minuous View Post
The gadgets themselves don't do anything with mouse wheel messages (eg. NM_WHEEL_DOWN) but the application can listen for them and take an appropriate action.
honx is offline  
Old 22 January 2018, 21:27   #7
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
No NetSurf "by Arti" does not need, NetSurf "By Chris Young" yes need the application FreeWheel.

Tell me about which programs do not work so I do some tests
AMIGASYSTEM is offline  
Old 22 January 2018, 22:13   #8
honx
Registered User
 
honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
every application which comes with os 3.9 like editpad, unarc, screenmode prefs, locale prefs and others...
honx is offline  
Old 22 January 2018, 23:48   #9
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by honx View Post
every application which comes with os 3.9 like editpad, unarc, screenmode prefs, locale prefs and others...
I confirm with these applications not work mousewheel
AMIGASYSTEM is offline  
Old 23 January 2018, 05:17   #10
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,641
Quote:
Unfortunately there is a note by the FreeWheel dev about this in the guide:

ClassAct: Again, WheelMouse can't recognise the scrollbars generated by these
GUI toolkits.
I had a quick look at the code, I don't think it is an insoluble problem. Obviously the gadget detection and adjustment would need changing, it should be doable though.

However, last time I uploaded a fixed version of an abandonware PD program to Aminet it was rejected with a flame :-( Therefore I don't want to risk the same happening again and being banned from updating any of my own programs. It might be therefore be necessary to write an entire new program instead for this reason. Which I don't really have time/motivation to do currently.
Minuous is offline  
Old 23 January 2018, 06:54   #11
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Quote:
Originally Posted by Minuous View Post
I had a quick look at the code, I don't think it is an insoluble problem. Obviously the gadget detection and adjustment would need changing, it should be doable though.

However, last time I uploaded a fixed version of an abandonware PD program to Aminet it was rejected with a flame :-( Therefore I don't want to risk the same happening again and being banned from updating any of my own programs. It might be therefore be necessary to write an entire new program instead for this reason. Which I don't really have time/motivation to do currently.
Just upload to Aminet the patch (spatch) with a nice readme ad you wont have problems.
gulliver is offline  
Old 23 January 2018, 07:51   #12
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,178
The license included with the package is worded.....stupidly:

Quote:
Full source code is provided, in the hope that it will be of help and interest to others. You are encouraged to incorporate any of the source files into your own projects, as long as they are freeware/shareware, and you credit me.
So does that mean only derivations but no changes in mainline? So what is the definition of a derivation here? If i just replace all names, fix the bugs and accredit the original owner in the docs is it 'my own project'?

And this is why you dont write your own software licenses.........
Locutus is offline  
Old 23 January 2018, 16:00   #13
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,347
I think that's fairly clear. You can use any of the source for your own project, so long as it's free and the original author is credited. There's nothing that says there's a limit on the amount of the code you can incorporate into your own project, so if I made a new "DaedalusWheel" with 99.5% of the original source, adding 0.5% new code to handle ReAction windows, that should be perfectly fine.
Daedalus is offline  
Old 23 January 2018, 22:58   #14
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
@Minuous
Would be amazing if you can upload a patch (only) on Aminet. Mouse wheel support for ReAction/ClassAct based tools included with OS3.5/3.9 is badly needed...
Feel absolutely free to send me a PM if you need beta-testing.
hexaae is offline  
Old 23 January 2018, 23:46   #15
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,153
For what it's worth, I'm FreeWheel's author, and I'm quite happy for anyone to hack on this and release their own version. I'm also quite happy for anyone to send me patches or improvements and do an "official" release. I don't currently have time (or an OS3.5/3.9 installation) to put much effort into this myself but I'll certainly help where I can.

[@Locutus - totally agree with you regarding licensing. 18-year-old me wasn't so wise!]
robinsonb5 is offline  
Old 24 January 2018, 02:47   #16
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,641
@robinsonb5:

OK, thanks.

It's not as straightforward as I originally thought; there is only one entry in the window's gadget list (presumably a layout gadget), regardless of how many RA gadgets are in the window. I don't see any supported way to ask layout.gadget for the address of the child gadget under the pointer.

Last edited by Minuous; 24 January 2018 at 05:31.
Minuous is offline  
Old 24 January 2018, 08:00   #17
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,178
Quote:
Originally Posted by robinsonb5 View Post
[@Locutus - totally agree with you regarding licensing. 18-year-old me wasn't so wise!]
Hah, good to hear you are still active. Hey youthful mistakes happen
Locutus is offline  
Old 24 January 2018, 10:31   #18
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 1,153
Quote:
Originally Posted by Minuous View Post
I don't see any supported way to ask layout.gadget for the address of the child gadget under the pointer.
Ah - that's a shame. That would explain why I gave up trying to add support way back when. I couldn't remember what the reason was, but I knew there was one.
robinsonb5 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scroll Wheel with BENQ Optical Serial Mouse illy5603 support.Hardware 17 29 August 2019 01:11
WinUAE - How to get mouse wheel working when using AOS4.1FE? Reth support.WinUAE 2 24 October 2017 21:12
Mouse wheel wreck keyboard inputs sodapop support.WinUAE 6 20 December 2012 21:34
Mouse wheel weirdness in Dopus? emuola support.Apps 9 25 September 2010 09:26
Using Mouse-Wheel Scroll in Workbench 3.1 vroom6sri New to Emulation or Amiga scene 4 31 May 2007 11:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10159 seconds with 13 queries