Page MenuHomePhabricator

elm_panes: contact resizing issue
Open, NormalPublic

Description

An issue with min size calculation.

Using legacy elm_panes_*

When contacting the pane the resized pane makes an erroneous adjustment.

http://www.enlightenment.org/ss/e-5b8db0794ca5d1.05966660.jpg <- this shows the content within the pane.
http://www.enlightenment.org/ss/e-5b8db04504df49.29706579.jpg <- contracted pane.

The contacted pane is offset by the content within the pane.

netstar created this task.Sep 3 2018, 3:17 PM
netstar triaged this task as High priority.

This can be reproduced using Edi from git master with EFL 1.21 and above.

https://github.com/enlightenment/edi.git

The bottom panel in Edi is mostly behaving as above when contracting.

Difficult to reproduce elsewhere.

YOhoho updated the task description. (Show Details)Sep 3 2018, 3:23 PM

Hey!

Well I've used a scroller and set the pane as it's content and it resolves the issue. Is this expected???

hmm, i spent a day to find reason for this issue but i can't.
Just one point i found is this is not panes issue. when filepanel scroll bar is visible, the empty space is shown. the empty space doesn't show when i insert elm_scroller_policy_set(list, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF); on edi_filepanel.c:1209. (this is not solution. just test)
I guess it is scroller issue.

netstar lowered the priority of this task from High to Normal.Sep 5 2018, 5:02 AM

Hi @YOhoho

Thanks very much for spending so much time on this issue.

I guess I'll leave it open but downgrade it and come back to it later on.

Again, thanks for your time!

zmike added a subscriber: zmike.Jan 17 2019, 11:20 AM

I don't really understand what this issue is?