Comments (2)
This issue should be renamed as: "ListPresenter's menu block should not get a MenuMorph as argument but a MenuPresenter" instead.
The problem is that the abstraction layer provided by Spec is broken then since you need to touch Morph.
Here is the snippet allowing to reproduce this issue.
ListPresenter new
items: #(1 2 3);
menu: [ :menuMorph | menuMorph inspect ];
openWithSpec
Execute this snippet and right click on an item of the list. You'll see what is inspected is a MenuMorph and not a MenuPresenter.
from spec.
Done.
from spec.
Related Issues (20)
- Why do `SpCodeInteractionModel>>#bindings` return an empty dictionary ?
- `SpCodePresenter>>#evaluate:onCompileError:onError:` does not take into account additional bindings when evaluating an expression HOT 3
- Semaphore>>#wait: called from SpMorphicBackendForTest>>#waitUntilUIRedrawed HOT 1
- testSmokeTestForDemoPages is broken HOT 1
- New jobs do not refresh if UI is blocking
- SpNotebookPage>>#beCloseable seems to have no effect
- Pharo 12 regression? SpPresenter>>#hide removes the presenter HOT 7
- A label does not apply the inherited background color from the stylesheet HOT 1
- Can't change a toolbar color or border color
- Spec modal windows leave the gray background when closed with CMD/Ctrl+W HOT 1
- A label does not apply the #displayBackgroundColor HOT 1
- The box layout algorithm does not handle spacing of a SpBoxLayout correctly
- [Cleanup] #notNil to #isNotNil in Spec
- SpSelectDialog should select the first item HOT 6
- Notebook's whenSelectedPageChangedDo: not working when pages are added after build
- List context menu leaks adapter
- The taskbar icon of Spec application windows cannot be set HOT 8
- whenWillCloseDo: block is evaluated twice when closing a window HOT 4
- progress bar displays 'StringMorph' when job not yet started HOT 1
- Alignment problem when using image in box layout
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 spec.