Vertical slider broken under macOS Sierra

  1. 7 months ago

    Michel B

    15 Jan 2017 Pre-Release Testers, Xojo Pro

    46620 - Vertical slider broken under macOS Sierra 10.12.3

    Michel Bujardet Today at 12:26 AM
    OS: OS X 10.12.3

    Xojo: Xojo 2016r4.1

    Steps: See attached project.

    Under previous versions of Mac OS X, the vertical slider works just fine.

    Since Sierra, the knob is stuck and the guide no longer shows. As if it was no longer possible to use the slider vertically.

    File attached: vertical_slider.xojo_binary_project.zip

    Feedback Case #46620

  2. Duplicate of Feedback Case #44840

  3. Ulrich B

    15 Jan 2017 Pre-Release Testers, Xojo Pro Xojo Deutschland-Evangelist ·...
    Edited 7 months ago by Ulrich B

    I cannot write to 44840 currently. Here’s a workaround:
    https://dl.dropboxusercontent.com/u/21200221/Xojo/Verticalsliders.zip

  4. No idea why not as its not private locked etc etc

  5. Sam R

    15 Jan 2017 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    Vertical slider, why would you need such a thing on a mobile phone OS? <satire/>

  6. no idea since we're discussing the desktop os known as Sierra :P

  7. Axel S

    is not verified 15 Jan 2017 Europe (Germany, Erfurt)

    @Sam R Vertical slider, why would you need such a thing on a mobile phone OS? <satire/>

    <satire>
    I read between the lines ...
    You are also not happy with the latest versions of OS X ?
    Maybe it's time to return to 10.6.8
    </satire>
    ^^

  8. Sam R

    15 Jan 2017 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    @Norman P no idea since we're discussing the desktop os known as Sierra :P

    It's called Sierra, it looks like a desktop OS... But it smells like a mobile OS with a different skin.

    @Axel S You are also not happy with the latest versions of OS X ?

    Pretty much am not impressed with the state of the Mac at all, and I think I've discovered why Apple dropped Aperture. It has nothing to do with the iPhone camera being good enough to replace a regular camera, incase you were wondering.

    But I'm detracting from the thread, sorry.

  9. @Sam R It's called Sierra, it looks like a desktop OS... But it smells like a mobile OS with a different skin.

    Theres certainly core aspects of each that you'll find on the other.
    iOS seems to be, in many respects, rethinking the class hierarchy & implementations for things (a lot of UI) and seems to be "fixing" up areas that haven't been under OS X.
    And then some of those are migrating to OS X - but I'm not sure I'd say that macOS is a "mobile" OS.
    They do seem to be in the nasty habit of deprecating even new API's for even newer ones.
    And then changing their minds on that one a couple years later :(
    And that makes life hell as you've noted on other threads

  10. Sam R

    15 Jan 2017 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    @Norman P And then some of those are migrating to OS X - but I'm not sure I'd say that macOS is a "mobile" OS.

    With Yosemite I filed a bug I discovered; to which Apple didn't believe me until I could prove it. Upon doing some more research on the bug (which was within Core Image), I found that the very same bug has been present on iOS for 4 years before it found it's way into the macOS. Hence my feeling that the macOS is now simply a skin on top of iOS.

    @Norman P And that makes life hell as you've noted on other threads

    Yes indeed and the only way how I can protect myself is to recreate the wheel, but retain the source code. At least it will have the added advantage of working on Windows and Linux. However I'd imagine that it will take me a while to replicate what I need.

  11. Michel B

    16 Jan 2017 Pre-Release Testers, Xojo Pro
    Edited 7 months ago by Michel B

    @Ulrich B I cannot write to 44840 currently. Here’s a workaround:
    https://dl.dropboxusercontent.com/u/21200221/Xojo/Verticalsliders.zip

    Superb, Ulrich. Thank you so much.

    I also posted it in the bug report.

  12. Ulrich B

    16 Jan 2017 Pre-Release Testers, Xojo Pro Xojo Deutschland-Evangelist ·...
    Edited 7 months ago by Ulrich B

    @Norman P No idea why not as its not private locked etc etc

    There have been reports that my ISP is hitting its limits more often recently. They did not upgrade their broadband network, and despite having regained a lot of market share currently their solution is to cut down their number of employees. Capitalism eating its children, like usual. … Maybe I was running into a network failure. It took me five attempts to upload a simple screenshot to my blog recently. :(

    EDIT: There’s even more going on with NSSlider. I thought I could extend the project with a few more properties, but it will not draw a circular slider completely – it always misses a side. And it ignores knobThickness completely and always draws the standard size.
    -image-

  13. Sam R

    16 Jan 2017 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    The circular slider, we use it in our apps, it has to be the right size "34" I think and you need to reset the bounds of the slider to [[0,0],[width,height]].

  14. Dave S

    17 Jan 2017 San Diego, California USA

    Don't know if this might apply here.... but for iOS you need to apply an Affine Transform to rotate the slider control

  15. Markus W

    17 Jan 2017 #JeSuisHuman Europe (Germany)...

    @Sam R … and I think I've discovered why Apple dropped Aperture. It has nothing to do with the iPhone camera being good enough to replace a regular camera, incase you were wondering.

    Oh come on! You hollered, now lay the egg!

  16. Sam R

    17 Jan 2017 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan
    Edited 7 months ago by Sam R

    @Markus W Oh come on! You hollered, now lay the egg!

    Aperture was Core Image based and Apple's developement of Aperture kept the framework in check, as well as prosumer/amateur and professional photographers tied to the Apple platform.

    Trying to use Core Image to process complicated filter chains with large images has caused significant pain these last couple of months. They work fine on the images from the iPhone, once you get above 30mp it starts to fall apart. GPU crashes, GPU glitches, excessive time taken to process images.

    I got there in the end, with some creative workarounds and posted in the thread https://forum.xojo.com/37852-core-image-pain .

    I have successfully hijacked another thread, and must now return it to it's original programming...

  17. 3 months ago

    Thomas R

    May 19 Europe, France, Besancon

    Hi, I just found the other thread in which we have another solution, I post it here for other people.
    put this code on Open event of your slider

    declare sub setVertical lib "Cocoa" selector "setVertical:" (windowRef as integer, id as Boolean)
    setVertical(me.Handle,true)
  18. Ulrich B

    May 19 Pre-Release Testers, Xojo Pro Xojo Deutschland-Evangelist ·...

    @Thomas R Hi, I just found the other thread in which we have another solution, I post it here for other people.
    put this code on Open event of your slider

    That’s exactly the code that was used in my project above. Note that you must still check the system version or the project could crash if run below Sierra. See this thread .

or Sign Up to reply!