Hi,

OK the problem was alphaValue, I don't know how Apple handles it with an external not Apple´s mouse, but override in NSScroller the mouseExited, mouseEntered and set alphaValue to 1.0 all fixed

Davidap

El 13/4/21 a las 20:00, cocoa-dev-requ...@lists.apple.com escribió:
Send Cocoa-dev mailing list submissions to
        cocoa-dev@lists.apple.com

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.apple.com/mailman/listinfo/cocoa-dev
or, via email, send a message with subject or body 'help' to
        cocoa-dev-requ...@lists.apple.com

You can reach the person managing the list at
        cocoa-dev-ow...@lists.apple.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cocoa-dev digest..."


Today's Topics:

    1. Re: Scroller and not apple's mouse (Alex Zavatone)
    2. Re: Scroller and not apple's mouse (Alex Zavatone)


----------------------------------------------------------------------

Message: 1
Date: Tue, 13 Apr 2021 08:44:01 -0500
From: Alex Zavatone <z...@mac.com>
To: Allan Odgaard <lists+cocoa-...@simplit.com>
Cc: cocoa-dev@lists.apple.com
Subject: Re: Scroller and not apple's mouse
Message-ID: <b26a87d4-94de-48f8-b627-7367d4422...@mac.com>
Content-Type: text/plain; charset=utf-8

Please show your code.  Otherwise, we have little to go on.

Sent from my iPhone

On Apr 13, 2021, at 2:41 AM, Allan Odgaard via Cocoa-dev 
<cocoa-dev@lists.apple.com> wrote:

?Probably two things relevant here.

One is General in system preferences which look like this:

![](cid:2C16BC1B-F302-426F-9F6A-665F55C99045@simplit.com "PastedImage.png")

A Magic Mouse may count as a ?track pad? so if you have this setting to 
automatic, the scrollers will only be shown when scrolling.

You can manually override the scroller setting: 
https://developer.apple.com/documentation/appkit/nsscroller/1523591-scrollerstyle

The style it sounds like you prefer is NSScrollerStyleOverlay.

However, I would discourage you from changing this.


On 13 Apr 2021, at 9:24, IOS NACSPORT via Cocoa-dev wrote:

Hi,

I connect any non-Apple mouse, turn off the Apple mouse and the scroll shows, 
in it I can?t change the background color. I used swift and macOS. Without 
another mouse, only magic mouse I can change this color without problem.

Regards

El 12/4/21 a las 23:40, Jack Brindle escribi?:
What is the mouse, and is there any installed software involved that goes with 
the mouse?

Jack


On Apr 12, 2021, at 12:30 AM, IOS NACSPORT via Cocoa-dev 
<cocoa-dev@lists.apple.com> wrote:

Hi,

I don't kown is the correct place, In a NSScroller, when I conect the external 
mouse, not apple's mouse, the scroll change and show always, the problem is 
that I can't change its background color. How could it? or at least make it 
clear.


Regards

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/jackbrindle%40me.com

This email sent to jackbrin...@me.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/lists%2Bcocoa-dev%40simplit.com

This email sent to lists+cocoa-...@simplit.com
<PastedImage.png>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com

This email sent to z...@mac.com

------------------------------

Message: 2
Date: Tue, 13 Apr 2021 08:44:45 -0500
From: Alex Zavatone <z...@mac.com>
To: Allan Odgaard <lists+cocoa-...@simplit.com>
Cc: cocoa-dev@lists.apple.com
Subject: Re: Scroller and not apple's mouse
Message-ID: <d4b8bcf9-31ae-46a7-9406-bfbfff6c1...@mac.com>
Content-Type: text/plain; charset=utf-8

And WHICH non-Apple mice are you using?

Sent from my iPhone

On Apr 13, 2021, at 8:44 AM, Alex Zavatone <z...@mac.com> wrote:

?Please show your code.  Otherwise, we have little to go on.

Sent from my iPhone

On Apr 13, 2021, at 2:41 AM, Allan Odgaard via Cocoa-dev 
<cocoa-dev@lists.apple.com> wrote:

?Probably two things relevant here.

One is General in system preferences which look like this:

![](cid:2C16BC1B-F302-426F-9F6A-665F55C99045@simplit.com "PastedImage.png")

A Magic Mouse may count as a ?track pad? so if you have this setting to 
automatic, the scrollers will only be shown when scrolling.

You can manually override the scroller setting: 
https://developer.apple.com/documentation/appkit/nsscroller/1523591-scrollerstyle

The style it sounds like you prefer is NSScrollerStyleOverlay.

However, I would discourage you from changing this.


On 13 Apr 2021, at 9:24, IOS NACSPORT via Cocoa-dev wrote:
Hi,

I connect any non-Apple mouse, turn off the Apple mouse and the scroll shows, 
in it I can?t change the background color. I used swift and macOS. Without 
another mouse, only magic mouse I can change this color without problem.

Regards

El 12/4/21 a las 23:40, Jack Brindle escribi?:
What is the mouse, and is there any installed software involved that goes with 
the mouse?

Jack


On Apr 12, 2021, at 12:30 AM, IOS NACSPORT via Cocoa-dev 
<cocoa-dev@lists.apple.com> wrote:

Hi,

I don't kown is the correct place, In a NSScroller, when I conect the external 
mouse, not apple's mouse, the scroll change and show always, the problem is 
that I can't change its background color. How could it? or at least make it 
clear.


Regards

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/jackbrindle%40me.com

This email sent to jackbrin...@me.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/lists%2Bcocoa-dev%40simplit.com

This email sent to lists+cocoa-...@simplit.com
<PastedImage.png>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com

This email sent to z...@mac.com

------------------------------

Subject: Digest Footer

_______________________________________________

Cocoa-dev mailing list      (Cocoa-dev@lists.apple.com)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com

https://lists.apple.com/mailman/listinfo/cocoa-dev


------------------------------

End of Cocoa-dev Digest, Vol 18, Issue 18
*****************************************
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to