Add efl canvas textblock example based on unified APIs (converted from legacy)
- Maniphest Tasks
- T8460: Efl_Canvas_Textblock
- rEFL7107d6cf903e: Example: Add efl_canvas_textblock_obstacles example
It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/
The example clearly does not work (the text lines are overlapped and illegible).
This is probably the implementation's fault, not this example's, but do we have any idea of where the problem is? I would like to be 100% sure the problem is not in the example.
Eina.h is automatically included.
warning: unused parameter ‘data’
Missing i in "registering".
I don't think that "keeping this example with current status" is good idea.
Plus, I also don't think that "legacy one has the same result" can be a good reason for keeping this as it is.
We need to fix the problem and make the example be shown properly. This is an example for EFL developers.
Of course it need's to be fixed.
The example code here works same as the legacy one (which supposed to work fine in the past and never changed).
In my comment I said that this is the same as the legacy, to say it is an implementation issue not an example issue (agreed with what segfaultxavi has said).
I think D11005 is not sufficient to fix the problem.
As you can see the result of the test, some meaningless space is existing between "object" and "can".
That is, "... Any evas object can register ...".
The space seems like being increased (or decreased) following the item width. (i.e. 72 in <item size=72x16>)
Could you check this a bit more ?
With this almost-working example you have convinced me that the remaining issues are implementation issues, and therefore the obstacles API is usable.
I would land this example and create tasks for the remaining implementation issues.