# October 2016 development updates

**URL:** <https://discourse.mapeditor.org/t/october-2016-development-updates/1749>\
**Category:** Development\
**Created:** [October 17, 2016, 7:56pm UTC](https://discourse.mapeditor.org/t/october-2016-development-updates/1749 "2016-10-17T19:56:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [October 29, 2016, 8:52pm UTC](https://discourse.mapeditor.org/t/october-2016-development-updates/1749/2 "2016-10-29T20:52:37Z")

</div>

## Week 42

### Tiled Monday

I picked up the `wip/tilesetdocument` branch again and wanted to continue with the change that will make the Tilesets view show all open tilesets rather than just the ones from the current map. I ended up doing mostly [some cleanup](https://github.com/bjorn/tiled/commit/767e2df4493c14fc96b101e31ad41f51288bf311) in the MainWindow class.

In the meantime on IRC somebody asked how to deselect the selected area, and it turned out there was no convenient way to do so in two of the three selection tools. Only the Rectangular Selection tool allows you to click without moving to clear the selection. Now I made it possible to [deselect using right-click](https://github.com/bjorn/tiled/commit/2d5da99747f38a385c8705031fcb16eda1ce8486) in all tile selection tools. I should probably reconsider how the Rectangular Selection tool works as well, since people are sometimes confused by the way it determines the area to select (which was mainly to allow a simple click to deselect).

I also wrote the previous development update and merged [further changes](https://github.com/bjorn/tiled/commit/8089eace1da918b65ada8c6467c9fc6115c2650e) by Mike Thomas needed to get libtiled-java deployed to [OSSRH](http://central.sonatype.org/).

### Tiled Friday

Probably the best way to run Qt applications on a HiDpi screen is to use `QT_AUTO_SCREEN_SCALE_FACTOR=1`. This automatic scaling factor doesn’t affect the fonts, and it adjusts dynamically when moving applications between screens. I’ve enabled this behavior for Tiled by default and also improved the quality of some of the icons ([80a73171](https://github.com/bjorn/tiled/commit/80a7317106e49baa5f97b458b72437a8fb3158a0)).

I worked the rest of the day on the `wip/tilesetdocument` branch, trying to finish the change towards showing all currently opened tilesets in the Tilesets view. By the end of the day I thought I was almost done, but I kept finding new ways of triggering wrong behavior.

## Week 43

### Tiled Monday

There was a [question on the forum](http://discourse.mapeditor.org/t/move-camera-view-over-edge-of-map/1753) related to scrolling past the map boundaries when using the mouse wheel. So I looked into implementing this and came up with [a reasonable patch](https://github.com/bjorn/tiled/commit/dab4f29c1acc9adeb2c2ffff1afe763509fd7832) to allow scrolling past map edges with mouse wheel. The patch might also improve the scrolling experience a little for OS X users with a high precision mouse, but this is still untested.

Then I made some long due [documentation updates](https://github.com/bjorn/tiled/commit/fb1839b41d4797c87e5bb7183209c044fe244714), updating the [TMX map format](http://doc.mapeditor.org/reference/tmx-map-format/) page with the `file` and `color` custom property types added in [Tiled 0.17](http://discourse.mapeditor.org/t/tiled-0-17-0-released/1574).

Finally, after being stuck on a crash for a long time, I managed to finish the changes necessary to [show all open tilesets in the Tilesets view](https://github.com/bjorn/tiled/commit/6bd6630e3f5e7fba8ed46bb478a4d0328e73a9b7). The tilesets are now simply ordered by name, and all loaded tilesets are shown, except for embedded tilesets that are not part of the current map. While embedded tilesets remain supported, I want to discourage their use in the next version of Tiled and fully enable the advantage of using external tilesets. The reason not to show them for other maps is mainly that it would lead to a lot of duplicates when multiple maps are open.

### Tiled Friday

[A bug report](https://github.com/bjorn/tiled/issues/1387) had come in from somebody trying to use predefined custom file properties, which turned out to be due to some code I forgot to update when adding the `color` and `file` custom property types. I decided to fix it right away.

Then I prepared for a 0.17.1 release by [updating the NEWS file](https://github.com/bjorn/tiled/commit/7c95ae9a9dabbd792d054965cbc2b6374ee27b8c). I plan to make this release either Monday or Tuesday.

I’ve also been trying out [linuxdeployqt](https://github.com/probonopd/linuxdeployqt), which provides a convenient way of shipping the necessary libraries along with a Linux binary of Tiled and can even pack it into an [AppImage](http://appimage.org/). Its author, Simon Peter, has been helping me getting it running on [Travis CI](https://travis-ci.org/bjorn/tiled) and I’m hopeful that eventually it will be able to automatically push new releases to [itch.io](https://thorbjorn.itch.io/tiled). I will in any case make an effort to release Tiled 0.17.1 also for Linux, along with Windows and macOS.

Then I continued working on the `wip/tilesetdocument` branch, because there are still some things to do before I can merge this into `master`. I had just [made the random mode accessible again](https://github.com/bjorn/tiled/commit/d001174c4f26306a1360b3e85fd347b2a7ec6292) when I was reminded on IRC about a small feature I had promised to add. So the last thing I did this day was to add a way to [reset tile objects back to the size of the tile](https://github.com/bjorn/tiled/issues/1380).

### Looking Ahead

Especially that last day I’ve felt more productive than I’ve been in a while, and I hope to be able to keep up that momentum. In general, in the past two weeks I’ve managed to implement several nice improvements while also finally making good progress towards the next new feature release. Maybe I can still make it to Tiled 1.0 this year!

---

_[View the full topic](https://discourse.mapeditor.org/t/october-2016-development-updates/1749)._
