Mojave issues

  1. ‹ Older
  2. 4 months ago

    Christoph D

    Jul 2 Pre-Release Testers, Xojo Pro

    Dark mode issues:

    Native controls do not have the correct behaviour when dark mode is enabled. For example the label control doesn't change the font color.

    Windows colors aren't updated.

    Toolbar colors aren't updated.

  3. Beatrix W

    Jul 2 Pre-Release Testers Europe (Germany)

    @Sam R : you must be doing something odd (tm) to the dock. Oh, that's just 2 lines of code. Works fine with MBS so I don't think the dock problem is an Apple problem.

  4. Thomas K

    Jul 2 Pre-Release Testers, Xojo Pro Hannover, Germany

    @Christoph Dnbsp;Vocht Dark mode issues:

    Native controls do not have the correct behaviour when dark mode is enabled. For example the label control doesn't change the font color.

    Windows colors aren't updated.

    Toolbar colors aren't updated.

    No third party app supports the new dark mode automagically. Developers need to enable it first.

  5. Tim P

    Jul 2 Pre-Release Testers feedback://46303,51561

    @Beatrix W @Sam R : you must be doing something odd (tm) to the dock. Oh, that's just 2 lines of code. Works fine with MBS so I don't think the dock problem is an Apple problem.

    It working fine with MBS means that it's a Xojo issue and should not be reported to Apple.

    @All - I would suggest holding off reporting issues to Apple unless you can recreate them in Xcode and are sure it's an underlying Apple problem. My guess is that most issues are Xojo issues.

  6. Sam R

    Jul 2 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan
    Edited 4 months ago

    @Beatrix W @Sam Rowlands : you must be doing something odd (tm) to the dock. Oh, that's just 2 lines of code. Works fine with MBS so I don't think the dock problem is an Apple problem.

    I'm using pure Xojo code, no declares or plugins used in this process, although I do have the declares in another project. I'll dig them out and give it a try.

  7. Sam R

    Jul 2 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan
    Edited 4 months ago

    Dock icon crashing workaround.
    Dug out my old code for doing this in the past and it works. I have updated the Feedback report to indicate this. Thanks to @Beatrix W for testing his code and forcing me to rethink about it.

    Dim p as new picture( 240, 240 )
    Dim g as graphics = p.graphics
    
    g.scaleX = g.width / 80
    g.scaleY = g.scaleX
    
    g.filloval 20, 20, 40, 40
    
    #if targetMacOS then
      Dim NSImage as ptr = p.copyOSHandle( picture.handleType.MacNSImage )
      
      declare function NSClassFromString lib "Foundation" ( aClassName as CFStringRef ) as integer
      declare function sharedApplication lib "AppKit" selector "sharedApplication" ( classRef as integer ) as integer
      declare sub setApplicationIconImage lib "AppKit" selector "setApplicationIconImage:" ( NSApplicationInstance as integer, NSImageInstance as ptr )
      setApplicationIconImage( sharedApplication( NSClassFromString( "NSApplication" ) ), NSImage )
    #endif
  8. 3 months ago

    Thomas T

    Jul 11 Pre-Release Testers, Xojo Pro Europe (Germany, Munich)

    Another bug, quite a big one for me, is that apps built with Real Studio 2012r2.1 crash on launch in 10.14b2, apparently due to an over-release of a CF object. Meaning I cannot use RS to develop on Mojave. I'm sure Xojo won't fix this, but I still like to understand what's changed to make this crash now. I then plan to report this as a regression bug to Apple and hope they'll fix this.

  9. @ThomasTempelmann but I still like to understand what's changed to make this crash now.

    Would be interesting to find the case.

    +1

  10. Thomas T

    Jul 12 Pre-Release Testers, Xojo Pro Europe (Germany, Munich)
    Edited 3 months ago

    Oops! I did spread incorrect information.

    Correction: Apps built with RS 2012 do NOT crash at launch.

    Only some apps that I made do. Now I have to find out what they have in common.

    *Update* Seems to be related to using MBS plugins. I've notified Christian.

  11. Thomas T

    Jul 12 Pre-Release Testers, Xojo Pro Europe (Germany, Munich)
    Edited 3 months ago

    After some analysis that Christian did, we now believe the crash at launch is not caused by MBS plugins in particular but by Xojo's code that loads a plugin, i.e. any plugin.

    We see this kind of crash:

    Application Specific Information:
    objc_msgSend() selector name: release

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 libobjc.A.dylib 0xa6c63240 objc_msgSend + 16
    1 com.apple.CoreFoundation 0x9398635f ___CFXRegistrationPost_block_invoke + 105
    2 com.apple.CoreFoundation 0x939862b0 _CFXRegistrationPost + 428
    3 com.apple.CoreFoundation 0x9398601b ___CFXNotificationPost_block_invoke + 101
    4 com.apple.CoreFoundation 0x9395210a -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1562
    5 com.apple.CoreFoundation 0x939513ab _CFXNotificationPost + 891
    6 com.apple.Foundation 0x953cc893 -[NSNotificationCenter postNotificationName:object:userInfo:] + 71
    7 com.apple.Foundation 0x953d7b8f -[NSNotificationCenter postNotificationName:object:] + 37
    8 com.apple.AppKit 0x9157a975 -[NSApplication finishLaunching] + 525
    9 rbframework.dylib 0x00458c12 0x357000 + 1055762
    10 com.apple.AppKit 0x9157a3dc -[NSApplication run] + 225
    11 rbframework.dylib 0x00458c93 0x357000 + 1055891
    12 rbframework.dylib 0x003db437 0x357000 + 541751
    13 rbframework.dylib 0x003ac4d2 RuntimeRun + 50
    14 0x0012c115 REALbasic._RuntimeRun + 34
    15 0x00002979 _Main + 245
    16 0x000024f0 % main + 36
    17 0x001687ac _start + 116
    18 0x00168702 start + 43

    It seems that the code that loads a plugin (through dlOpen) does not correctly retain some object that is then later supposed to receive a notification.

    Christian also found that this crash does not always occur, suggesting it's a race condition where the object in question might get autoreleased too early, or live long enough for the notification to get posted.

    Either way, this will break a few tools I and maybe others have released in the past unless we can coerce Apple to add a special case to avoid this particular crash in Xojo-made apps.

  12. Greg O

    Jul 12 Xojo Inc
    Edited 3 months ago

    Does the 2012 IDE crash for you under Mojave? It loads plugins exactly the same way as your apps do.

  13. Alexander v

    Jul 13 Europe (Houten, The Netherland...

    I noticed a tremendous lag in the IDE. It takes about a second to respond to mouse moves, but once you've hit the 'run' button it's gone.

  14. Beatrix W

    Jul 13 Pre-Release Testers Europe (Germany)

    Like this here Feedback Case #52624? Not even reviewed. Drives me totally nuts.

  15. Alexander v

    Jul 13 Europe (Houten, The Netherland...

    @Beatrix W Like this here Feedback Case #52624? Not even reviewed. Drives me totally nuts.

    This occurs immediately after startup. MacBook Pro 8 Gb 2017. Scrollbars do not respond but after clicking on other screen objects they seem to get 'unstuck'.

  16. Greg O

    Jul 13 Xojo Inc
    Edited 3 months ago

    @Beatrix W Like this here Feedback Case #52624? Not even reviewed. Drives me totally nuts.

    Bug Reports (as opposed to Feature Requests) no longer have a "Reviewed" status. We did away with that several years ago because it's functionally indifferent from "Needs Review". Once it's reviewed, it will take on one of the following statuses:

    • Information required (and then back to Needs Review) – If the tester needs more information from you to reproduce the bug.
    • Closed - If the case is not reproducible or otherwise not a bug.
    • Verified – This doesn't mean that it's actually a bug however, just that a tester has been able to verify the behavior stated on a case. The engineering team will make the final determination whether or not something is a bug.

    Since we are in the beta cycle for this summer's release and Mojave isn't due out until late fall, those cases are being gathered into a common place where we can keep track of them for testing all at once on a version of Mojave that is much closer to what will be actually released is available. As I've said before, It's not uncommon for the things that our users to report in the first few public betas of an upcoming macOS release to be resolved by the time we reach late summer and we'd rather not waste the cycles trying to fix those things.

  17. Beatrix W

    Jul 13 Pre-Release Testers Europe (Germany)

    A) This problem drives me nuts.

    B) You never ever know if something is fixed or not.

    C) Oh, and this lovely problem only affects Xojo. It so sounds like the problems that our Windows friends have.

  18. Greg O

    Jul 13 Xojo Inc

    @Beatrix W A) This problem drives me nuts.

    Which problem?

    @Beatrix W B) You never ever know if something is fixed or not.

    Sure you do. We mark the case as Fixed & Verified when it exists in a released version of Xojo.

    @Beatrix W C) Oh, and this lovely problem only affects Xojo. It so sounds like the problems that our Windows friends have.

    If you're talking about my comment above about removing "Reviewed", I suspect it doesn't only affect us. I'd bet that most companies just don't provide as much transparency into their bug tracking system that we do.

  19. Beatrix W

    Jul 13 Pre-Release Testers Europe (Germany)
    Edited 3 months ago

    A) I meant the meditation problem of Xojo. I want to type something and can see one letter at a time. Yesterday that dang thing wouldn't do anything anymore. I was editing a project with less than 100 lines of code.

    B) If there is no investigation between Apple and Xojo then you won't know if this is an Apple or a Xojo problem.

    C) The meditation problem only affects Xojo. This is my reading laptop so I do Mail, iBooks (because Kindle and Calibre are screwed up), Safari, the odd minute of ValentinaStudio (also screwed up), JWildfire (ugly but functional Java) and Fractal Artist.

  20. Greg O

    Jul 13 Xojo Inc

    @Beatrix W A) I meant the meditation problem of Xojo. I want to type something and can see one letter at a time. Yesterday that dang thing wouldn't do anything anymore. I was editing a project with less than 100 lines of code.

    C) The meditation problem only affects Xojo. This is my reading laptop so I do Mail, iBooks (because Kindle and Calibre are screwed up), Safari, the odd minute of ValentinaStudio (also screwed up), JWildfire (ugly but functional Java) and Fractal Artist.

    Wait... you're using macOS 10.14 Mojave on your primary daily machine? That's a recipe for disaster IMHO.

    @Beatrix W B) If there is no investigation between Apple and Xojo then you won't know if this is an Apple or a Xojo problem.

    You're right, but we just can't spare the manpower at the moment knowing that these early issues sometimes do not just affect Xojo apps and get resolved in later betas.

  21. Beatrix W

    Jul 13 Pre-Release Testers Europe (Germany)

    I'm using Mojave on my READING laptop. The main development machine of course runs the Captain. An Air is way too slow for Xojo anyways.

or Sign Up to reply!