View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004278 | NoesisGUI | Studio | public | 2025-07-01 18:27 | 2026-07-21 16:15 |
| Reporter | dstewart | Assigned To | Antonino | ||
| Priority | normal | Severity | minor | ||
| Status | assigned | Resolution | open | ||
| Product Version | Studio_Beta | ||||
| Target Version | 4.0 | ||||
| Summary | 0004278: Middle-Mouse Clicking on a Style Property Doesn't Revert To BasedOn Property | ||||
| Description | Currently, if you have a "Style_B" that is BasedOn a "Style_A": If a Property is set in Style_B, and then cleared with the MiddleMouseClick, instead of taking the Style_A's value, it appears to revert to the Value of the Default Style. Repro Steps: 1) Download and open the attached Project, and open the MainPage.xaml. 4) In the Style Dummy Editor, select the STYLE from the Navigator, and from the top of the Properties Panel, set its 'BasedOn' Property to be BasedOn the Style with "YELLOW" in its name. In theory now, the Yellow Style should be inheriting all Values from the Red Style, unless a value is locally added to the Yellow Style (overwriting the BasedOn Style) 5) Hover over any Property containing Values set in the Style (such as 'Background'), and press down on MiddleMouse click. Observe how the value doesn't revert to the styled its BasedOn (which for the Background, should have produced a Green background colour from the Yellow Style), but instead it populates the field with the 0% opacity colour from the Default CheckBox Style. Expected Results: Reverting a Style Value to Default, takes on the Default informed from the BasedOn Style rather than the Element's Default Style. | ||||
| Attached Files | |||||
| Platform | Any | ||||
| related to | 0004277 | assigned | sfernandez | Setting a Style to be 'BasedOn' Another Doesn't Show It As 'Active' In the Property Dropdown |
| related to | 0004276 | assigned | sfernandez | Setting a Style to be "BasedOn" Another Style Produces a XAML Error |
|
I think this is expected result. Clearing the Style from a Button:
currently does the following:
What you're suggesting it should do is:
to:
just because Style_B is BasedOn Style_A. which in my opinion is weird. Maybe it should be discussed in the meeting? But in my opinion clearing the Style should remove the local value, like how every other property works. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-07-01 18:27 | dstewart | New Issue | |
| 2025-07-01 18:27 | dstewart | File Added: StylesAndTemplates_BasedOn_Default.zip | |
| 2025-07-01 18:27 | dstewart | Relationship added | related to 0004277 |
| 2025-07-01 18:28 | dstewart | Relationship added | related to 0004276 |
| 2025-07-02 11:39 | sfernandez | Assigned To | => dfranjic |
| 2025-07-02 11:39 | sfernandez | Status | new => assigned |
| 2025-07-02 11:39 | sfernandez | Target Version | => Studio_Beta |
| 2026-04-08 03:55 | dfranjic | Note Added: 0012172 | |
| 2026-04-09 16:08 | sfernandez | Target Version | Studio_Beta => 4.0 |
| 2026-06-26 11:11 | jsantos | Note Edited: 0012172 | |
| 2026-07-21 16:15 | jsantos | Assigned To | dfranjic => Antonino |