Comments (4)
Have done some initial investigation. Notes below.
- The refresh is happening because the drag gesture updates the
configuration
of the layout object being edited. - This change is then persisted (via the EditablePersistenceCapability - which just marks the editable object cache dirty).
- This has the effect of updating the 'modified' value on the domain object model
- This triggers a watch in MCTRepresentation which updates the objects capabilities
One of those capabilities is the view capability, so $scope['view'] gets set to a list of the views for this object. it seems to be this step that triggers the redraw of all children Don't know enough about what the implication of setting that property of scope is to speculate about why that is yet.- One of those capabilities is the
composition
capability. Thelayout
view uses$scope['composition']
to iterate child objects. This field is refreshed every time anything on the model changes (includingconfiguration
). Because the composition capability returns an array of new objects every time, it causes a refresh of all children every time the capability is refreshed.
from openmct.
Fixed in PR #345
from openmct.
Testathon 20151207 This behaves much better now, really nice! However, this error still happens when adding a panel to the layout by dragging it in from the tree on the right.
from openmct.
Testathon 20151207: Same experience as Robert.
from openmct.
Related Issues (20)
- [Styling] Only text color is inherited in flex layout styling
- [Styling] Persisted styles don't get applied to Stacked Plot Items HOT 1
- [lint] Add eslint-plugin-import to detect AMD or commonjs imports
- New action to reload an individual view and all of its children HOT 1
- Architecture / Integration Diagram HOT 1
- [Mobile Support] Confirmation Dialogs Need Style Improvements
- [Mobile Support] Status Area needs some redesign
- [Mobile Support] Global Search is missing and needs redesign for mobile
- Unable to save high resolution imagery HOT 2
- [Mobile Support] Object Tree is being hidden when switching from Portrait to Landscape Mode
- [Mobile Support] Select button dropdowns are not lined properly
- Support more than one Couch database for a single Couch Server
- Support "read-only" Couch databases
- [Mobile Support] Hover actions on Plots need improving
- [e2e] Playwright autoselection is detecting Glyphs in the name when auto generating locators
- [Mobile Support] Time Conductor is being cut off and unusable for certain device sizes
- Export as JSON needs an activity modal
- Allow setting states for activities in a plan (gantt chart and time list views)
- [Guide] Write a contribution guide for our WCAG A11y and testability
- Our <meta> tags are not being loaded in the DOM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmct.