Anyone willing to fix the ALEditor?

I was wondering if anyone here who knows what they’re doing would be willing to fix the ALEditor? I think that app would certainly make GUI development easier versus doing it purely by hand, which as you know is tedious.

Here is a debug report of the issue…

Debug information for team /boot/home/Apps/ALEditor-master/ALEditor (1493):
CPU(s): 2x Intel Core™ i5-2400S
Memory: 2.00 GiB total, 412.55 MiB used
Haiku revision: hrev51845 Mar 10 2018 07:15:49 (BePC)

Active Threads:
	thread 1493: ALEditor (main)
	thread 1500: w>ALEditor: Save 
	thread 1503: w>ALEditor: Open 
	thread 1505: w>Properties 
	thread 1506: MouseTrackingThread 
	thread 1508: team 1493 debug task 
	thread 1497: w>Layout Playground 
		state: Call (Deleting a BLayout that still has items. Subclass hooks will not be called)

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0x6183b112	commpage_syscall + 0x2 
			Disassembly:
				commpage_syscall:
				0x6183b110:             89e1  mov %esp, %ecx
				0x6183b112:             0f34  sysenter  <--

		0x71bdc5e8	0x1b27639	debugger + 0x39 
		0x71bdc620	0x200758b	_._7BLayout + 0x63 
		0x71bdc650	0x1fbfdba	_._15BAbstractLayout + 0x4e 
		0x71bdc680	0x48a39e	_._Q24BALM10BALMLayout + 0x20a 
		0x71bdc6d0	0xc74bed	BALM::EditWindow::_SetTabAreaContent(BView*) + 0xad 
		0x71bdc740	0xc753bd	BALM::EditWindow::UpdateEditWindow() + 0x59 
		0x71bdc770	0xc520f3	BALM::BALMEditor::UpdateEditWindow() + 0x27 
		0x71bdc7c0	0xc55e46	BALM::LayoutEditView::MouseUp(BPoint) + 0x136 
		0x71bdc9a0	0x20836ef	BWindow::DispatchMessage(BMessage*, BHandler*) + 0xe6b 
		0x71bdca00	0x208872a	BWindow::task_looper() + 0x28e 
		0x71bdca30	0x1f9b54d	BLooper::_task0_(void*) + 0x3d 
		0x71bdca58	0x1b2e961	thread_entry + 0x21 
		00000000	0x6183b250	commpage_thread_exit + 0 

		Registers:
			  eip:	0x6183b114
			  esp:	0x71bdc5ac
			  ebp:	0x71bdc5e8
			  eax:	0x000000e1
			  ebx:	0x01bdc448
			  ecx:	0x71bdc5ac
			  edx:	0x6183b114
			  esi:	0x0214a1a0
			  edi:	0x00000000
			   cs:	0x001b
			   ds:	0x0023
			   es:	0x0023
			   fs:	0x0063
			   gs:	0x0023
			   ss:	0x0023
			  st0:	0
			  st1:	0
			  st2:	0
			  st3:	1
			  st4:	0
			  st5:	0
			  st6:	0
			  st7:	-2
			  mm0:	{0, 0, 0, 0}
			  mm1:	{0, 0, 0, 0}
			  mm2:	{0, 0, 0, 0}
			  mm3:	{0, 0, 0, 0x8000}
			  mm4:	{0, 0, 0, 0}
			  mm5:	{0, 0, 0, 0}
			  mm6:	{0, 0, 0, 0}
			  mm7:	{0, 0, 0, 0x8000}
			 xmm0:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm1:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm2:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm4:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm5:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
			 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
	ID		Text Base	Text End	Data Base	Data End	Type	Name
	--------------------------------------------------------------------------------
	5763	0x002d3000	0x002de000	0x002de000	0x002e1000	lib    	/boot/system/lib/libiculx.so.57.1
	5754	0x00473000	0x004a2000	0x004a2000	0x004ac000	lib    	/boot/system/lib/libalm.so
	5767	0x00ae0000	0x00af7000	0x00af7000	0x00afc000	lib    	/boot/system/lib/libtranslation.so
	5756	0x00b9f000	0x00c8e000	0x00c8e000	0x00cd1000	lib    	/boot/system/lib/libale.so
	5762	0x00cd5000	0x00d28000	0x00d28000	0x00d33000	lib    	/boot/system/lib/libicule.so.57.1
	5764	0x00e95000	0x00ece000	0x00ece000	0x00f05000	lib    	/boot/system/lib/libicutu.so.57.1
	5760	0x00f41000	0x011d2000	0x011d2000	0x0123b000	lib    	/boot/system/lib/libicui18n.so.57.1
	5768	0x017a9000	0x018a0000	0x018a0000	0x018a3000	lib    	/boot/system/lib/libtextencoding.so
	5761	0x018a8000	0x018b1000	0x018b1000	0x018b3000	lib    	/boot/system/lib/libicuio.so.57.1
	5765	0x018c3000	0x01a35000	0x01a35000	0x01a69000	lib    	/boot/system/lib/libicuuc.so.57.1
	5766	0x01a9b000	0x01ab5000	0x01ab5000	0x01ab6000	lib    	/boot/system/lib/libz.so.1.2.11
	5758	0x01afc000	0x01bd2000	0x01bd2000	0x01c1e000	lib    	/boot/system/lib/libroot.so
	5757	0x01d7e000	0x01daf000	0x01daf000	0x01dbd000	lib    	/boot/system/lib/libstdc++.r4.so
	5752	0x01e2c000	0x01e30000	0x01e30000	0x01e32000	app    	/boot/home/Apps/ALEditor-master/ALEditor
	5753	0x01e87000	0x02158000	0x02158000	0x021f1000	lib    	/boot/system/lib/libbe.so
	5751	0x02254000	0x02273000	0x02273000	0x02276000	lib    	/boot/system/runtime_loader
	5755	0x0260f000	0x027bd000	0x027bd000	0x0281d000	lib    	/boot/system/lib/libtracker.so
	5759	0x02f70000	0x047ee000	0x047ee000	0x047ef000	lib    	/boot/system/lib/libicudata.so.57.1
	5750	0x6183b000	0x61843000	0x00000000	0x00000000	system 	commpage

Areas:
	ID		Base		End			Size (KiB)	Protection	Locking			Name
	--------------------------------------------------------------------------------
	18392	0x00110000	0x00120000	        64	rw-        	full          	rld heap
	18391	0x0017c000	0x0018c000	        64	rw-        	full          	rld heap
	18390	0x002a7000	0x002af000	        32	rw-        	full          	rld heap
	18375	0x002d3000	0x002de000	        44	r-x        	full          	libiculx.so.57.1_seg0ro
	18376	0x002de000	0x002e1000	        12	rw-        	full          	libiculx.so.57.1_seg1rw
	18346	0x0035c000	0x0035d000	         4	rw-S       	full          	_rld_debug_
	18352	0x00473000	0x004a2000	       188	r-x        	full          	libalm.so_seg0ro
	18353	0x004a2000	0x004ab000	        36	rw-        	full          	libalm.so_seg1rw
	18354	0x004ab000	0x004ac000	         4	rw-        	full          	libalm.so_seg2rw
	18345	0x0058d000	0x0059d000	        64	rw-        	full          	rld heap
	18385	0x00ae0000	0x00af7000	        92	r-x        	full          	libtranslation.so_seg0ro
	18386	0x00af7000	0x00afc000	        20	rw-        	full          	libtranslation.so_seg1rw
	18358	0x00b9f000	0x00c8e000	       956	r-x        	full          	libale.so_seg0ro
	18359	0x00c8e000	0x00cd1000	       268	rw-        	full          	libale.so_seg1rw
	18373	0x00cd5000	0x00d28000	       332	r-x        	full          	libicule.so.57.1_seg0ro
	18374	0x00d28000	0x00d33000	        44	rw-        	full          	libicule.so.57.1_seg1rw
	18377	0x00e95000	0x00ece000	       228	r-x        	full          	libicutu.so.57.1_seg0ro
	18378	0x00ece000	0x00ed3000	        20	rw-        	full          	libicutu.so.57.1_seg1rw
	18379	0x00ed3000	0x00f05000	       200	rw-        	full          	libicutu.so.57.1_seg2rw
	18368	0x00f41000	0x011d2000	      2628	r-x        	full          	libicui18n.so.57.1_seg0ro
	18369	0x011d2000	0x0123a000	       416	rw-        	full          	libicui18n.so.57.1_seg1rw
	18370	0x0123a000	0x0123b000	         4	rw-        	full          	libicui18n.so.57.1_seg2rw
	18387	0x017a9000	0x018a0000	       988	r-x        	full          	libtextencoding.so_seg0ro
	18388	0x018a0000	0x018a2000	         8	rw-        	full          	libtextencoding.so_seg1rw
	18389	0x018a2000	0x018a3000	         4	rw-        	full          	libtextencoding.so_seg2rw
	18371	0x018a8000	0x018b1000	        36	r-x        	full          	libicuio.so.57.1_seg0ro
	18372	0x018b1000	0x018b3000	         8	rw-        	full          	libicuio.so.57.1_seg1rw
	18380	0x018c3000	0x01a35000	      1480	r-x        	full          	libicuuc.so.57.1_seg0ro
	18381	0x01a35000	0x01a68000	       204	rw-        	full          	libicuuc.so.57.1_seg1rw
	18382	0x01a68000	0x01a69000	         4	rw-        	full          	libicuuc.so.57.1_seg2rw
	18383	0x01a9b000	0x01ab5000	       104	r-x        	full          	libz.so.1.2.11_seg0ro
	18384	0x01ab5000	0x01ab6000	         4	rw-        	full          	libz.so.1.2.11_seg1rw
	18363	0x01afc000	0x01bd2000	       856	r-x        	full          	libroot.so_seg0ro
	18364	0x01bd2000	0x01be5000	        76	rw-        	full          	libroot.so_seg1rw
	18365	0x01be5000	0x01c1e000	       228	rw-        	full          	libroot.so_seg2rw
	18360	0x01d7e000	0x01daf000	       196	r-x        	full          	libstdc++.r4.so_seg0ro
	18361	0x01daf000	0x01dba000	        44	rw-        	full          	libstdc++.r4.so_seg1rw
	18362	0x01dba000	0x01dbd000	        12	rw-        	full          	libstdc++.r4.so_seg2rw
	18347	0x01e2c000	0x01e30000	        16	r-x        	full          	ALEditor_seg0ro
	18348	0x01e30000	0x01e32000	         8	rw-        	full          	ALEditor_seg1rw
	18349	0x01e87000	0x02158000	      2884	r-x        	full          	libbe.so_seg0ro
	18350	0x02158000	0x021f0000	       608	rw-        	full          	libbe.so_seg1rw
	18351	0x021f0000	0x021f1000	         4	rw-        	full          	libbe.so_seg2rw
	18342	0x02254000	0x02273000	       124	r-x        	full          	runtime_loader_seg0ro
	18343	0x02273000	0x02275000	         8	rw-        	full          	runtime_loader_seg1rw
	18344	0x02275000	0x02276000	         4	rw-        	full          	runtime_loader_bss1
	18355	0x0260f000	0x027bd000	      1720	r-x        	full          	libtracker.so_seg0ro
	18356	0x027bd000	0x0281b000	       376	rw-        	full          	libtracker.so_seg1rw
	18357	0x0281b000	0x0281d000	         8	rw-        	full          	libtracker.so_seg2rw
	18366	0x02f70000	0x047ee000	     25080	r-x        	full          	libicudata.so.57.1_seg0ro
	18367	0x047ee000	0x047ef000	         4	rw-        	full          	libicudata.so.57.1_seg1rw
	18393	0x188b7000	0x18ca7000	      4032	rw-        	full          	heap
	18341	0x6183b000	0x61843000	        32	r-xSk      	full          	commpage
	18338	0x61908000	0x6190c000	        16	rw-        	full          	user area
	18400	0x61988000	0x61989000	         4	rw-S       	full          	server_memory
	18402	0x69988000	0x699a8000	       128	rw-S       	full          	server_memory
	18422	0x719b1000	0x719f6000	       276	rw-s       	full          	w>Properties_1505_stack
	18424	0x71a13000	0x71a58000	       276	rw-s       	full          	MouseTrackingThread_1506_stack
	18418	0x71aae000	0x71af3000	       276	rw-s       	full          	w>TrackerWindow_1503_stack
	18412	0x71b3a000	0x71b7f000	       276	rw-s       	full          	w>TrackerWindow_1500_stack
	18406	0x71b99000	0x71bde000	       276	rw-s       	full          	w>Layout Playground_1497_stack
	18340	0x71f73000	0x72f74000	     16388	rw-s       	full          	ALEditor_1493_stack

Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel

Semaphores:
	ID		Count	Last Holder	Name
	------------------------------------------------------------
	20875	    0	          0	some BBlockCache lock
	20876	    0	          0	Catalog
	20877	    0	          0	some BLocker
	20878	    0	          0	some BLocker
	20879	    0	       1506	token space
	20880	    0	       1506	BLooperList lock
	20881	    0	          0	AppServerLink_sLock
	20882	    0	          0	LocaleRosterData
	20883	    0	          0	some BLocker
	20884	    0	          0	Catalog
	20885	    0	          0	PeriodicUpdatePoses
	20886	    0	          0	Light Lock
	20887	    0	          0	Light Lock
	20888	    0	          0	undo
	20889	    0	          0	some BLocker
	20890	    0	          0	some BLocker
	20891	    0	          0	some BLocker
	20892	    0	          0	some BLocker
	20893	    0	          0	BMessageQueue Lock
	20894	    0	          0	AppLooperPort
	20906	    0	          0	screen list
	20907	    0	          0	clipboard
	20908	    0	          0	width buffer
	20909	    0	          0	BMessageQueue Lock
	20910	    0	          0	Layout Playground
	20916	    0	          0	some BLocker
	20920	    0	          0	tool tip manager
	20921	    0	          0	BMessageQueue Lock
	20922	   -2	          0	Properties
	20928	    0	          0	BMessageQueue Lock
	20929	    0	       1500	TrackerWindow
	20935	    0	          0	Tracker node icon cache
	20936	    0	          0	Tracker shared icon cache
	20940	    0	          0	some BLocker
	20941	    0	          0	some BLocker
	20942	    0	          0	virtual directory manager
	20943	    0	          0	Catalog
	20947	    0	          0	BMessageQueue Lock
	20948	    0	       1503	TrackerWindow
	20957	    0	          0	some BLocker
	20967	    0	          0	BMessageQueue Lock
	20968	    0	          0	PObjectBroker
1 Like

Is this editor created for haiku? It need to support of the haiku api to make it easy to create gui’s, iirc

Yes, of course, it was a research project from the Aukland university (the same team that originally designed Stack&Tile). The layout engine is integrated in Haiku but rarely used (it co-exists with the more traditional grid/group layout scheme). But it is hard to make use of the layout engine without the editor (it would require writing equations for the constraint solver by hand, I think).

Judging by the the following (I’m assuming this is the issue)…

…is it pretty straight forward to fix?

This has been reported about 3 years back: issue #1.

Yes, I’ve been waiting for a fix for a long time!

Looks like someone took matters into their own hands: https://github.com/czeidler/ALEditor/pull/3 :heart_eyes:

2 Likes

OK, so now the source code is fixed, but how to update the package in HaikuDepot?

Well the person who manages that project would have to cut a release and then the recipe could be updated to point to that release.

To be honest this project should be moved to HaikuArchives. I had a pull request open there for one year without any feedback.

1 Like

What about finding a new maintainer? What would be needed for that?

I’ve got no experiences with software maintenance and i’m naïve, but maybe a maintainer.

Anyone with some c++ knowledge, and more importantly, motivation. But OaikuArchives is fine in the meantime