GNOME Bugzilla – Bug 735427
Cisco - Misc Video Camera pastes icon in opposite direction of what is shown
Last modified: 2014-09-07 21:48:31 UTC
Downstream bug report: https://bugs.launchpad.net/ubuntu/+source/dia/+bug/134738 Binary package hint: dia 1) lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 2) apt-cache policy dia dia: Installed: 0.97.2-15ubuntu1 Candidate: 0.97.2-15ubuntu1 Version table: *** 0.97.2-15ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen in a new diagram is on the left hand side click the drop down box (by default notes Flowchart) and change this to Cisco - Misc > scroll down to where it is a video camera with the lens pointing right > click this icon > click in the main diagram area and the icon should be pasted with the lens pointing to the right. 4) What happens instead is it pastes a camera with the lens pointing to the left. First identified in Dia version 0.96.1.
From my understanding it was a mistake to include two variants of Cisco - Video Camera in the first place in 2005 [1]. Even back than the facility to Flip Horizontal was available for at least five years. Now I'm uncertain how to fix this without breaking backward compatibility. Maybe the best way would be to clean out all these duplicates (e.g. at least also "Cisco - PC Man left", "Cisco - PIX Firewall left" and "Cisco - Sitting Woman right") and make the icon direction fit the default appearance. And finally provide some backward compatibility by putting an alias for the old type names, but ignoring the changed visual apperance. Opinions? [1] https://git.gnome.org/browse/dia/commit/?id=c8d68af80441b34b73c13f3849a1423c1b0c5815
Hans Breuer, thanks for the fast response. I would say do whatever makes it easier for developers to maintain, especially if it is what is provided in a competing platform for user expectation compatibility. If that is only having one icon, and let the user flip it, works for me. If it's maintaining the icons, but ensuring that they actually insert correctly, that works for me too.
Fixed on master by https://git.gnome.org/browse/dia/commit/?id=16e773e92c4b82fdbc87c08eea7059abc0fdece8