Blocs for Mac V5.2 Beta Build 10

Just in time for the weekend, here is Blocs for Mac V5.2 beta build 10 with more fixes and improvements.

Have a great weekend and I’ll be back early next week with the next beta. :beers:

Download Blocs V5.2.0 beta Build 10

1 Like

Hi @Norm

Looking at 5.2.0 b10 - I’m seeing a number of bugs w/ Page Lock:

  • Getting a parse error when previewing:
    **Parse error** : syntax error, unexpected '<', expecting end of file in **/private/var/folders/57/nnccdyq14tnfjwt684rwg55c0000gn/T/blocs-5-main-preview/other.php** on line **87**

Looking at line 87 in exported code, see this:

This comment type was working a few weeks ago w/ that html comment ( I use it to target things w/ dom document php) - do I need to wrap it in /* */ now?

  • Also, as you can see in the screenshot, it keeps mutating the close of the comment by adding more dashes at the end (others on the page remain untouched) - this comment needs to be untouched as well, so it can be targeted reliably.

  • divs w/ class “hide-in-blocs-page-preview_snapshot” that wrap php are still showing php code in pg thumbnails

Appreciate your help on these things so can get this patched for the 5.2.0 launch.

Thanks,
Bill
BricsDesign

1 Like

These html rendering changes usually crop up when WebKit is updated, which happens at the OS level.

I’ll take a look and will probably need a copy of the latest version of the Bric.

Copying a single class which, if not mistaken was fixed in Beta 6 seems to be broken again…:thinking:

Small Potato 2023-11-26 at 14.17.48

1 Like

Deleting the Recapture Bric from a form causes Blocs to crash. :bomb::boom:
Crash report:

Exception Name: NSTableViewException
Description: Row index 27 out of row range (numberOfRows: 20) for <layerTreeOutlineView: 0x7fe53f8d7a00>
User Info: (null)

0   CoreFoundation                      0x00007ff806570fa6 __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007ff806066231 objc_exception_throw + 48
2   AppKit                              0x00007ff809c21bea -[NSTableRowData _availableRowViewWhileUpdatingAtRow:] + 0
3   AppKit                              0x00007ff809c7ca95 -[NSTableView viewAtColumn:row:makeIfNecessary:] + 29
4   AppKit                              0x00007ff80a5d5391 -[NSTableViewCellMockElement childViewIsCellView:] + 128
5   AppKit                              0x00007ff80a5d5415 -[NSTableViewCellMockElement accessibilityChildrenAttribute] + 60
6   AppKit                              0x00007ff809b9f20b NSAccessibilityGetObjectForAttributeUsingLegacyAPI + 337
7   AppKit                              0x00007ff80a25619c ___NSAccessibilityEntryPointValueForAttribute_block_invoke.856 + 2724
8   AppKit                              0x00007ff80a251527 NSAccessibilityPerformEntryPointObject + 16
9   AppKit                              0x00007ff809dc3b12 _NSAccessibilityEntryPointValueForAttribute + 168
10  AppKit                              0x00007ff809b9d795 NSAccessibilityChildren + 41
11  AppKit                              0x00007ff809ccdbeb -[NSObject(NSObjectAccessibilityAttributeAccessAdditions) accessibilityIndexOfChild:] + 14
12  AppKit                              0x00007ff809ccdaa5 -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilityUIElementSpecifierForChild:registerIfNeeded:] + 136
13  AppKit                              0x00007ff809c88f01 -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilityUIElementSpecifierRegisterIfNeeded:] + 144
14  AppKit                              0x00007ff809c00e37 NSAccessibilityHandleFocusChangedForce + 166
15  AppKit                              0x00007ff809d2aa8d -[NSSegmentedCell setSelectedSegment:] + 388
16  AppKit                              0x00007ff809d94ed8 -[NSSegmentedCell selectSegmentWithTag:] + 103
17  AppKit                              0x00007ff80aa536b1 -[NSTextTouchBarItemController setSelectedAttributesWithEnumrator:] + 915
18  AppKit                              0x00007ff809c113db -[NSTextView(NSTextView_TouchBar_API) updateTextTouchBarItems] + 140
19  AppKit                              0x00007ff809c10cc2 -[NSTextView updateFontPanel] + 2313
20  AppKit                              0x00007ff809c100a9 -[NSTextView(NSSharing) setTypingAttributes:] + 1758
21  AppKit                              0x00007ff809bf4153 syncTextWithTextView + 827
22  AppKit                              0x00007ff809b45dc8 -[NSCell setObjectValue:] + 351
23  AppKit                              0x00007ff809b45a73 -[NSCell setStringValue:] + 98
24  AppKit                              0x00007ff809daf60e -[NSTextField textDidEndEditing:] + 182
25  CoreFoundation                      0x00007ff8064f3800 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
26  CoreFoundation                      0x00007ff806584336 ___CFXRegistrationPost_block_invoke + 88
27  CoreFoundation                      0x00007ff806584280 _CFXRegistrationPost + 532
28  CoreFoundation                      0x00007ff8064c36fb _CFXNotificationPost + 682
29  Foundation                          0x00007ff80744322e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
30  AppKit                              0x00007ff809daf1e7 -[NSTextView(NSSharing) resignFirstResponder] + 762
31  AppKit                              0x00007ff809c28236 -[NSWindow _realMakeFirstResponder:] + 218
32  AppKit                              0x00007ff809c1fc47 __56-[NSTableRowData _removeRowsAtIndexes:withRowAnimation:]_block_invoke + 494
33  Foundation                          0x00007ff8074720cb __NSINDEXSET_IS_CALLING_OUT_TO_A_RANGE_BLOCK__ + 7
34  Foundation                          0x00007ff807ba6566 __NSIndexSetEnumerateBitfield + 851
35  AppKit                              0x00007ff80a85e83f __55-[NSTableRowData removeRowsAtIndexes:withRowAnimation:]_block_invoke + 295
36  AppKit                              0x00007ff80a85c872 -[NSTableRowData _performWithIncrementedTableViewUpdateCount:] + 49
37  AppKit                              0x00007ff809c1f98e -[NSTableRowData removeRowsAtIndexes:withRowAnimation:] + 90
38  AppKit                              0x00007ff809ba1b36 -[NSTableView _doUpdatedWorkWithHandler:] + 73
39  AppKit                              0x00007ff809c1f83f -[NSTableView removeRowsAtIndexes:withAnimation:] + 136
40  AppKit                              0x00007ff809c1f7b0 -[NSOutlineView removeRowsAtIndexes:withAnimation:] + 41
41  AppKit                              0x00007ff809c1ece1 -[NSOutlineView reloadItem:reloadChildren:] + 1317
42  AppKit                              0x00007ff80a316400 -[NSOutlineViewBinder _childrenChangedForNode:] + 123
43  AppKit                              0x00007ff809d34c12 -[NSOutlineViewBinder observeValueForKeyPath:ofObject:change:context:] + 405
44  Foundation                          0x00007ff80746b768 NSKeyValueNotifyObserver + 305
45  Foundation                          0x00007ff807525c3d NSKeyValueDidChange + 409
46  Foundation                          0x00007ff807bbbc8c NSKeyValueDidChangeWithPerThreadPendingNotifications + 146
47  AppKit                              0x00007ff80a7ea524 -[NSTreeControllerTreeNode removeObjectFromSubNodesAtIndex:] + 408
48  AppKit                              0x00007ff80a6dcccc -[NSTreeController _removeObjectsAtArrangedObjectIndexPaths:objectHandler:] + 851
49  AppKit                              0x00007ff80a6dd190 -[NSTreeController remove:] + 152
50  Blocs                               0x000000010fa28a17 Blocs + 776727
51  Blocs                               0x000000010fa30d9e Blocs + 810398
52  WebKit                              0x00007ff90a547663 _ZN28ScriptMessageHandlerDelegate14didPostMessageERN6WebKit12WebPageProxyEONS0_13FrameInfoDataERN3API12ContentWorldERN7WebCore21SerializedScriptValueE + 271
53  WebKit                              0x00007ff90a8f52c6 _ZN6WebKit29WebUserContentControllerProxy14didPostMessageEN3WTF23ObjectIdentifierGenericINS_26WebPageProxyIdentifierTypeENS1_38ObjectIdentifierMainThreadAccessTraitsEEEONS_13FrameInfoDataEyRKNSt3__14spanIKhLm18446744073709551615EEEONS1_17CompletionHandlerIFvOSB_RKNS1_6StringEEEE + 626
54  WebKit                              0x00007ff90ac15cca _ZN3IPC18handleMessageAsyncIN8Messages29WebUserContentControllerProxy14DidPostMessageEN6WebKit29WebUserContentControllerProxyES5_FvN3WTF23ObjectIdentifierGenericINS4_26WebPageProxyIdentifierTypeENS6_38ObjectIdentifierMainThreadAccessTraitsEEEONS4_13FrameInfoDataEyRKNSt3__14spanIKhLm18446744073709551615EEEONS6_17CompletionHandlerIFvOSG_RKNS6_6StringEEEEEEEvRNS_10ConnectionERNS_7DecoderEPT0_MT1_T2_ + 209
55  WebKit                              0x00007ff90ac15be6 _ZN6WebKit29WebUserContentControllerProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 64
56  WebKit                              0x00007ff90ac2db1d _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 223
57  WebKit                              0x00007ff90a87a029 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 31
58  WebKit                              0x00007ff90ac29c37 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 269
59  WebKit                              0x00007ff90ac2a1b9 _ZN3IPC10Connection24dispatchIncomingMessagesEv + 627
60  JavaScriptCore                      0x00007ff822f03fce _ZN3WTF7RunLoop11performWorkEv + 430
61  JavaScriptCore                      0x00007ff822f04d5a _ZN3WTF7RunLoop11performWorkEPv + 26
62  CoreFoundation                      0x00007ff8064fe2c7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
63  CoreFoundation                      0x00007ff8064fe269 __CFRunLoopDoSource0 + 157
64  CoreFoundation                      0x00007ff8064fe034 __CFRunLoopDoSources0 + 215
65  CoreFoundation                      0x00007ff8064fccb1 __CFRunLoopRun + 919
66  CoreFoundation                      0x00007ff8064fc352 CFRunLoopRunSpecific + 557
67  HIToolbox                           0x00007ff810d9e9d9 RunCurrentEventLoopInMode + 292
68  HIToolbox                           0x00007ff810d9e616 ReceiveNextEventCommon + 201
69  HIToolbox                           0x00007ff810d9e531 _BlockUntilNextEventMatchingListInModeWithFilter + 66
70  AppKit                              0x00007ff809b0c885 _DPSNextEvent + 880
71  AppKit                              0x00007ff80a400348 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1304
72  AppKit                              0x00007ff809afddfa -[NSApplication run] + 603
73  AppKit                              0x00007ff809ad1e10 NSApplicationMain + 816
74  dyld                                0x00007ff80609a3a6 start + 1942
1 Like

Does clicking the Class tokens open up the class editor or are you still having that issue?

That is working correctly for me in b10, which raises the question why we are seeing different results. Does it happen for you on both silicon and intel? Are you using a special :desert_island: :tropical_drink:edition of Blocs?

Screenshot 2023-11-26 at 16.56.38

2 Likes

I’ll do some checks on intel tomorrow we have 3 in the office. Last I checked I could’nt get the issues Jerry had which made think it was something todo with the processors speeds :thinking:

Can someone tell me how the horizontal scroll should work in V5.2. I have made a new project added a row, a column and then a container. Set the container on horizontal scroll… and now if I want to horizontal scroll an image - what to do…?

Yes, it does.

1 Like

Check out the included Blocs that give you an idea of how it works.

You will see each item is in a Div that has a width based on the number of items you want visible, and by breakpoint.

2 Likes

Use one of the horizontal scroll Blocs in the Blocs library if you’re unsure what you’re doing.

It looks like it’s an Intel issue as on the M1 it’s behaving correctly. Also, it seems highlighting is not working on the Intel.

Small Potato Ltd2023-11-27 at 05.45.07

Nearly 50% of your users are unfairly treated here :joy:

2 Likes

Glad to hear it works as expected on your other Mac :sweat_smile:

Do you have any apps running on intel (in the background) that would monitor the screen to aid with layouts of windows such as Moom etc.

I’m wondering if there is mouse tracking interference on your intel mac caused by another app.

Also a few other questions for the broken setup.

• Are you running Blocs full screen?

• Do you get these results in a fresh project?

• Do you have an accessibility options enabled on MacOS?

The way horizontal scroll works is it creates a scrollable collection of items that can be scrolled horizontally. As @PeteSharp mentioned the pre-made Blocs offer an example of how this functionality is intended to work.

I’ll be publishing the docs for all of the new features in Blocs V5.2 later this week, which I’m sure will help :smiley:

I had to look that one up as never heard of it :joy:

No.

Yes, it is a fresh project.

Only: Autoplay animated images and shake mouse pointer to locate

1 Like

Hi @Norm,

Wordpress featured image sizes work when published, however it shows an empty image placeholder in preview mode.

1 Like

Is the custom post loop working for you now?

OK. What if you want a horizontal scrollable background…?

Hi @Norm,

The loop works when published, as I pointed out. In other words, if I select a medium size featured image, it display in WP.

However, in preview mode, if I select a Medium size featured image, no image shows (like a missing image link). If I just select the featured image (no size specified) then the image shows in preview mode.

Does that make sense? If not I can send you some images or a short video.

1 Like