# \[Mac OS 10.7.5\] Window moves when drag-selecting

**URL:** https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969
**Category:** Bugs
**Created:** [December 11, 2015, 3:38am UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969 "2015-12-11T03:38:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 11, 2015, 3:38am UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/1 "2015-12-11T03:38:21Z")

</div>

The title says it all really. The window moves when attempting to drag select. For example, if I click and drag within a tileset to select multiple tiles, the entire window moves. Another example, if I’m attempting to select objects in an object layer, the entire window moves.

---

<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: [December 16, 2015, 9:08pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/2 "2015-12-16T21:08:59Z")

</div>

That sounds like a very annoying bug. Do you know since when this is happening? It certainly didn’t used to happen, so I think it may be since updating to Qt 5.5. I’ll have to find some to time to test it.

---

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 17, 2015, 9:00pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/3 "2015-12-17T21:00:31Z")

</div>

This is my first time using Tiled, therefore, this bug has been occurring for at least a week, which is when I downloaded Tiled, played around with it, and consequently experienced this bug. So the version I’m using is 0.14.2 for Mac (which you can see below to verify).

![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/1X/1ab580c59263666942bc544ff6c13dd3e3861542.png)

The software looks great so far other than this bug btw 😉

---

<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: [December 17, 2015, 9:10pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/4 "2015-12-17T21:10:04Z")

</div>

> [@GiveMeAnthony](#):
>
> The software looks great so far other than this bug btw 😉

That’s nice to hear!

I’ll aim to have a look at this issue soon, latest on Monday. In the meantime, since this bug sound pretty serious, you may just want to try older releases available from here:

> **[Releases · mapeditor/tiled](https://github.com/mapeditor/tiled/releases)**
>
> Flexible level editor. Contribute to mapeditor/tiled development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 18, 2015, 8:22am UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/5 "2015-12-18T08:22:33Z")

</div>

I tried 13.1, it had the same bug, then I tested out 12.3 and the bug was squashed.

---

<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: [December 21, 2015, 3:44pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/6 "2015-12-21T15:44:31Z")

</div>

I’ve just tried it on my MacMini, but unfortunately could not reproduce it. I’m on OS X 10.10.5 at the moment and tried with Tiled compiled against Qt 5.5.0.

Unfortunately I can’t downgrade to see if it’s only on older OS X versions. I’ll upgrade Qt to 5.5.1 and my system to 10.11.

---

<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: [December 21, 2015, 9:53pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/7 "2015-12-21T21:53:35Z")

</div>

Hrm, also can’t reproduce on OS X 10.11 with Qt 5.5.1. Could you try the latest daily build I’ve just done there? It’s available at [http://tilemapkit.com/tiled/?C=N;O=D](http://tilemapkit.com/tiled/?C=N;O=D) - `tiled-2015-12-21.dmg`.

---

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 24, 2015, 8:03am UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/8 "2015-12-24T08:03:36Z")

</div>

Apologies for the late reply. This build doesn’t seem to work. Since you can’t downgrade, I can let you test it out on my computer through TeamViewer. For security reasons, I don’t want to leave my Team Viewer connection information on an open forum.

Leave me an [email](mailto:givemeanthony@outlook.com?subject=Tiled) and use my [PGP key](https://pgp.mit.edu/pks/lookup?search=Anthony+Vanover&op=index&fingerprint=on) when necessary. My fingerprint is `4516 8971 9556 13E5 E2DB D83E 6623 EBE9 C159 DE23`. I’ll reply back with my Team Viewer ID and Password. I’ll leave my computer open whenever possible so you can test and debug.

---

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 24, 2015, 9:43pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/9 "2015-12-24T21:43:20Z")

</div>

I noticed that Tiled version 12.3 includes the following in main.cpp:

```
#ifdef Q_WS_X11
    QApplication::setGraphicsSystem(QLatin1String("raster"));
#endif

```

Then in version 13, these lines are missing. It’s also when you upgraded to Qt 5.1.0. On Mac OS X, Apple shipped X11.app (now known as XQuartz) with OS versions 10.5 to 10.7. I’m wondering if the X11 is being used. If it is, perhaps the graphics system affects drag selection.

I would build myself to test it, but I’m having some issues with brew that I don’t want to bother with at the moment. Also, I looked around at your source code to see what other possibilities for problems there might be. So far, I haven’t found anything else.

---

<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: [December 28, 2015, 4:25pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/10 "2015-12-28T16:25:24Z")

</div>

> [@GiveMeAnthony](#):
>
> Apologies for the late reply. This build doesn’t seem to work. Since you can’t downgrade, I can let you test it out on my computer through TeamViewer.

Can you describe what doesn’t work about it or show a screenshot? Thanks for offering to have me test it through TeamViewer. I’ve never used it but I’m looking forward to try it once I’m back home (currently visiting family).

> [@GiveMeAnthony](#):
>
> Then in version 13, these lines are missing. It’s also when you upgraded to Qt 5.1.0. On Mac OS X, Apple shipped X11.app (now known as XQuartz) with OS versions 10.5 to 10.7. I’m wondering if the X11 is being used. If it is, perhaps the graphics system affects drag selection.

Tiled does not use X11 on OS X. I believe I simply removed the line because with Qt 5, the “raster” graphics system is already used by default on X11. But it has nothing to do with this problem.

---

<div class="post-metadata">

### Author: ![GiveMeAnthony](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/givemeanthony/32/1903_2.png) [@GiveMeAnthony](https://discourse.mapeditor.org/u/GiveMeAnthony)
#### Post date: [December 28, 2015, 5:25pm UTC](https://discourse.mapeditor.org/t/mac-os-10-7-5-window-moves-when-drag-selecting/969/11 "2015-12-28T17:25:58Z")

</div>

> [@bjorn](#):
>
> Can you describe what doesn’t work about it or show a screenshot? Thanks for offering to have me test it through TeamViewer. I’ve never used it but I’m looking forward to try it once I’m back home (currently visiting family).

Specifically, the same bug persists. Other functionality works as expected. When you’re back home, just shoot me an email. 🎄 Enjoy the holidays with family while you can 😄 🎄
