{"action":"created","issue":{"url":"https://api.github.com/repos/tux3/qTox/issues/2270","labels_url":"https://api.github.com/repos/tux3/qTox/issues/2270/labels{/name}","comments_url":"https://api.github.com/repos/tux3/qTox/issues/2270/comments","events_url":"https://api.github.com/repos/tux3/qTox/issues/2270/events","html_url":"https://github.com/tux3/qTox/issues/2270","id":107405366,"number":2270,"title":"No \"X\" button to exit in gnome after enabling multiple windows","user":{"login":"RadJaz","id":10097860,"avatar_url":"https://avatars.githubusercontent.com/u/10097860?v=3","gravatar_id":"","url":"https://api.github.com/users/RadJaz","html_url":"https://github.com/RadJaz","followers_url":"https://api.github.com/users/RadJaz/followers","following_url":"https://api.github.com/users/RadJaz/following{/other_user}","gists_url":"https://api.github.com/users/RadJaz/gists{/gist_id}","starred_url":"https://api.github.com/users/RadJaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadJaz/subscriptions","organizations_url":"https://api.github.com/users/RadJaz/orgs","repos_url":"https://api.github.com/users/RadJaz/repos","events_url":"https://api.github.com/users/RadJaz/events{/privacy}","received_events_url":"https://api.github.com/users/RadJaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tux3/qTox/labels/A-linux","name":"A-linux","color":"fef2c0"},{"url":"https://api.github.com/repos/tux3/qTox/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/tux3/qTox/labels/I-bug","name":"I-bug","color":"fc2929"},{"url":"https://api.github.com/repos/tux3/qTox/labels/I-ui","name":"I-ui","color":"fc2929"},{"url":"https://api.github.com/repos/tux3/qTox/labels/P-medium","name":"P-medium","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-20T17:24:28Z","updated_at":"2015-09-22T07:44:04Z","closed_at":null,"body":"There isn't an \"X\" button in the top right corner when I enable multiple windows. I am running gnome and it looks like this\r\n![screenshot from 2015-09-20 12-03-52](https://cloud.githubusercontent.com/assets/10097860/9981993/5fd9021e-5f92-11e5-971c-f996d2d90de7.png)\r\n\r\nThis does have a workaround however, if i put my mouse in the top-left corner of the screen, i can close it from there, like this:\r\n![screenshot from 2015-09-20 12-10-40](https://cloud.githubusercontent.com/assets/10097860/9981996/86130e34-5f92-11e5-91b6-e0c4255c9f89.png)\r\n"},"comment":{"url":"https://api.github.com/repos/tux3/qTox/issues/comments/142204070","html_url":"https://github.com/tux3/qTox/issues/2270#issuecomment-142204070","issue_url":"https://api.github.com/repos/tux3/qTox/issues/2270","id":142204070,"user":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T07:44:04Z","updated_at":"2015-09-22T07:44:04Z","body":"@RadJaz well, basically @antis81 asked you to recompile source after you change source code a bit - I guess that's not something that you're familiar with.\r\n\r\n>I apologize for my lack of knowledge.\r\n\r\nDon't, no one knows everything `:)`\r\n\r\nGenerally, you should get source, apply patch ↓, build qTox, and run it.\r\n```diff\r\ndiff --git a/src/widget/form/genericchatform.cpp b/src/widget/form/genericchatform.cpp\r\nindex 21c9f0c..ec86c03 100644\r\n--- a/src/widget/form/genericchatform.cpp\r\n+++ b/src/widget/form/genericchatform.cpp\r\n@@ -46,7 +46,7 @@\r\n #include <QPushButton>\r\n \r\n GenericChatForm::GenericChatForm(QWidget *parent)\r\n-  : QWidget(parent)\r\n+  : QWidget(parent, Qt::Window)\r\n   , audioInputFlag(false)\r\n   , audioOutputFlag(false)\r\n {\r\ndiff --git a/src/widget/form/settingswidget.cpp b/src/widget/form/settingswidget.cpp\r\nindex c44b948..1ba9be0 100644\r\n--- a/src/widget/form/settingswidget.cpp\r\n+++ b/src/widget/form/settingswidget.cpp\r\n@@ -32,7 +32,7 @@\r\n #include <QWindow>\r\n \r\n SettingsWidget::SettingsWidget(QWidget* parent)\r\n-    : QWidget(parent)\r\n+    : QWidget(parent, Qt::Window)\r\n {\r\n     body = new QWidget();\r\n     QVBoxLayout* bodyLayout = new QVBoxLayout();\r\n```\r\n\r\n(that is, if I got correctly what @antis81 wrote about)\r\n\r\n\r\n\r\n@antis81 btw, since I don't think that people in general will be able to test things like that, I set on jenkins job to build things pushed to branch `testing`.\r\n\r\nIf you could, push to `testing` branch, and https://build.tox.chat/view/Sources/job/qtox-testing_src/ will be triggered, which will trigger build of static binaries, which @RadJaz could test.\r\n\r\n\r\n====\r\nOn a side note, `testing` branch could be used also for other things as well, not only this issue `:)`"}}