https://bugs.kde.org/show_bug.cgi?id=360918
Bug ID: 360918 Summary: There are no line breaks in the placemark description Product: marble Version: unspecified Platform: openSUSE RPMs URL: https://forum.kde.org/viewtopic.php?f=217&t=131357 OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: marble-b...@kde.org Reporter: strag1...@mail.ru I add new GeoDataPlacemark to the map and do "setDescription(text)", where text contains line breaks, but placemark description displays without line breaks. Reproducible: Always Steps to Reproduce: 1. Create Qt application and add marble-widget to the form: MarbleWidget w = new MarbleWidget; 2. Add new GeoDataDocument: doc = new GeoDataDocument; w->model()->treeModel()->addDocument(doc); 3. Add new GeoDataPlacemark: GeoDataPlacemark *place = new GeoDataPlacemark; place->setCoordinate(l, b, 0, GeoDataCoordinates::Radian); // l, b - coordinates of the place 4. Create text - description of the place: QString text = "string 1, \n"; text += "string 2, \n"; text += "string 3"; 5. Set description of the place and add place to the document: place->setDescription(text); w->document()->append(place); 6. Launch application and click on the place. Actual Results: "Short Description" contains: "string 1, string 2, string 3" Expected Results: "Short Description" contains: "string 1, string 2, string 3" -- You are receiving this mail because: You are watching all bug changes.