Modify ↓
Opened 3 years ago
Last modified 3 years ago
#20657 new defect
MAPCSS :selected pseudoclass doesn't update for child items with selection change
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core mappaint | Version: | tested |
Keywords: | template_report mapcss selected pseudoclass | Cc: |
Description
What steps will reproduce the problem?
- Add the following rule to a loaded .mapcss file:
way:selected > node { symbol-stroke-color:#ff00ff; }
- Select a way
- Observe its nodes NOT turn purple (or STAY purple) each time the selection changes.
What is the expected result?
Nodes of the currently selected way should be purple. Nodes of de-selected ways should no longer be purple.
What happens instead?
Nodes of some previously selected way become purple, or stay purple despite the selection changing.
Please provide any additional information below. Attach a screenshot if possible.
Reloading the CSS is a sure way to apply the purple rule to the currently selected way, but deselecting it may or may not de-purple the nodes.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-03-17 18:58:40 +0100 (Wed, 17 Mar 2021) Build-Date:2021-03-17 17:59:56 Revision:17580 Relative:URL: ^/trunk Identification: JOSM/1.5 (17580 pl) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19042) Memory Usage: 783 MB / 1820 MB (427 MB allocated, but free) Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1,00×1,00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 VM arguments: [-Djava.security.manager, -Djava.security.policy=file:%JAVA_HOME%\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=%JAVA_HOME%\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-260cf852, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=59626, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=%JAVA_HOME%\bin\javaw.exe] Dataset consistency test: No problems found Plugins: + ImproveWay (29) + PicLayer (2a9aa7a) + ShapeTools (1240) + apache-commons (35524) + areaselector (368) + austriaaddresshelper (1597341117) + buildings_tools (35669) + contourmerge (v0.1.6) + ejml (35458) + geotools (35458) + gridify (1606242219) + indoor_sweepline (35640) + jaxb (35543) + jts (35458) + log4j (35458) + merge-overlap (35640) + opendata (35640) + rasterfilters (35648) + reltoolbox (35640) + shrinkwrap (v1.0.4) + splinex (35718) + tageditor (35640) + utilsplugin2 (35691) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 + C:\DOKUMENTY\elemstyles.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - <josm.pref>\styles\sit.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
Attachments (0)
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Priority: | normal → minor |
---|---|
Version: | → tested |
Note:
See TracTickets
for help on using tickets.
Better repro case: