Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 504716 - [table] fillColumnsWidth style turned off once column width resized
Summary: [table] fillColumnsWidth style turned off once column width resized
Status: CLOSED WONTFIX
Alias: None
Product: Papyrus
Classification: Modeling
Component: Table (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: blockingpapyrusrt
Keywords:
Depends on:
Blocks: 504743
  Show dependency tree
 
Reported: 2016-10-06 10:05 EDT by Young-Soo Roh CLA
Modified: 2017-02-09 05:13 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Young-Soo Roh CLA 2016-10-06 10:05:16 EDT
When user resizes column width then the table looses fillColumnsWidth style because it is reset to false from createSetColumnSizeCommand. This prevents NattablePropertyEditor from displaying correct initial table size once user manually resize columns width. Users expect to see the correct fill table columns size for subsequent table display. There must be a reason why the fillColumnsWidth style is foreced turned off but it is not the intention of the users when they set this style to true.
Comment 1 Peter Cigehn CLA 2016-10-06 11:03:46 EDT
Should this Bugzilla block any tracking bug on the Papyrus-RT side? It currently is not blocking anything, and only have a See Also (which is a rather "loose coupling").
Comment 2 Vincent Lorenzo CLA 2016-10-06 11:53:15 EDT
What would be the expected behavior?
Comment 3 Young-Soo Roh CLA 2016-10-06 12:08:03 EDT
(In reply to vincent lorenzo from comment #2)
> What would be the expected behavior?

I would think that the fillColumnsSize should be always turned on for the table so that correct table size is displayed when it is open next time in the properties view possibly with resized window or other dialogs that displays the table. We resize columns temporarily in the UI but this should not result the style to be turned off.

If this is correct behaviour for other usage then at least providing some extensibility to control this beahviour would solve this problem.
Comment 4 Nicolas FAUVERGUE CLA 2016-12-05 11:30:12 EST
Hi,

Is this bug is always a problem while we get percentage width management ?
Comment 5 Young-Soo Roh CLA 2016-12-05 11:35:38 EST
(In reply to Nicolas FAUVERGUE from comment #4)
> Hi,
> 
> Is this bug is always a problem while we get percentage width management ?

This would be no longer a problem if percentage sizing is used. I am not sure if there is a case where percentage size is not used and users expect to see fillColumnsWidth still active.

For tables used in the UML-RT properties view only use percentage sizing will be used so this won't be a problem.
Comment 6 Vincent Lorenzo CLA 2016-12-06 04:17:39 EST
With the percetnage sizing Bug 504077, the style fillColumnsWidth is not more used. I close the bug.