Arkisto, elokuu 2017

Captioned image with alignnone class aligned with screen left instead of content left

31. elokuuta 2017 klo 15.58
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: WordPress

Steps to reproduce

Add an image to a post, type in a caption and set alignment to ’None’.

What I expect to happen

I’d expect the captioned image to be left-aligned with the main content column’s left, in line with <p>elements.

What happens

The image is left-aligned to the left edge of the screen. My attachment is a screenshot of a post with one uncaptioned and one captioned alignnone image.

Vastaa viestiin sen kontekstissa (Github)

Pihapihlajat ja muut pihapuut riippuvat kevyenliikenteenväylän puolelle

18. elokuuta 2017 klo 18.05
Sijainti: Muut: Oulun Palautepalvelu
Avainsanat: liikenne, turvallisuus

Pihapihlajat ja muut pihapuut riippuvat kevyenliikenteenväylän puolelle, paikoin todella pahasti.

Vastaa viestiin sen kontekstissa (Oulun Palautepalvelu)

Viewer fails to save a JPEG with non-JPEG filename extension

14. elokuuta 2017 klo 17.29
Sijainti: Vianhallintajärjestelmät: Launchpad
Avainsanat: Shotwell

== Steps to reproduce ==
1. Download
2. Open the image in Shotwell Viewer: $ shotwell 193px-Car_crash_1.jpg
3. Select File > Save As…
4. Select OK (without changing Format from ”Current”, or any other parameters)
5. Enter ”193px-Car_crash_1.png” (without quotes) as the filename, select OK

== What happens ==
The viewer now displays a black screen, with the text ”Photo source file missing:” followed by the (.png-ending) image path entered in the dialog. The file has not been saved.

== What I expect to happen ==
For the (now misnamed) .png-ending file to have been saved, and be opened in the Viewer.

== Other notes ==
* If a file with the .png ending already exists, and I try overwriting it with the JPEG, the black error screen does not appear, and the viewer appears as if it had saved the file. But the file hasn’t actually been saved; if 193px-Car_crash_1.png was an empty file before seemingly overwriting it, it remains empty.
* I’m (intentionally) not doing an actual Format change in the first Save As dialog here. If I do select PNG as the format, then saving the file does work as expected (using any filename extension).
* I used .png just as an example here. Any variant of /jpe?g/i as the extension seems to work as expected, whereas anything else (.gif, .foo etc.) results in the same ”file missing” error as above.
* If the original file is a PNG file, saving it with .jpg (or any other extension for that matter) seems to work as expected.

Vastaa viestiin sen kontekstissa (Launchpad)