{"action":"created","issue":{"url":"https://api.github.com/repos/tux3/qTox/issues/2921","repository_url":"https://api.github.com/repos/tux3/qTox","labels_url":"https://api.github.com/repos/tux3/qTox/issues/2921/labels{/name}","comments_url":"https://api.github.com/repos/tux3/qTox/issues/2921/comments","events_url":"https://api.github.com/repos/tux3/qTox/issues/2921/events","html_url":"https://github.com/tux3/qTox/issues/2921","id":130923378,"number":2921,"title":"[Discussion] Create our own notification system pop-up","user":{"login":"RowenStipe","id":1356364,"avatar_url":"https://avatars.githubusercontent.com/u/1356364?v=3","gravatar_id":"","url":"https://api.github.com/users/RowenStipe","html_url":"https://github.com/RowenStipe","followers_url":"https://api.github.com/users/RowenStipe/followers","following_url":"https://api.github.com/users/RowenStipe/following{/other_user}","gists_url":"https://api.github.com/users/RowenStipe/gists{/gist_id}","starred_url":"https://api.github.com/users/RowenStipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RowenStipe/subscriptions","organizations_url":"https://api.github.com/users/RowenStipe/orgs","repos_url":"https://api.github.com/users/RowenStipe/repos","events_url":"https://api.github.com/users/RowenStipe/events{/privacy}","received_events_url":"https://api.github.com/users/RowenStipe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-03T06:13:21Z","updated_at":"2016-02-04T03:58:11Z","closed_at":null,"body":"In my research into trying to make heads or tails of https://github.com/tux3/qTox/pull/2771\r\n\r\nTo make it work properly on my own system, let alone others, I've come to the conclusion that \"Native\" Notifications would be very frustrating; and much alcohol would be consumed.\r\nSo since notification popups are something that users are interested in having. I'm proposing we attempt to accomplish it by creating our own, which I'm sure a few people would rather go the native route.\r\n\r\nMy idea is to basically use a borderless window in Qt 5 to display the notification pop-up.\r\nNow with this idea comes the option to also design the notification box to be more pleasing to look at, in some aspect anyways. Notifications could also act for input for special events such as a file transfer or incoming call, along with message notifications. And creates the option of letting the user set where the notification box appears.\r\n\r\nGoing the native route would certainly look cleaner for certain systems. Not all systems have a notification backend, and not all notification systems are built the same. (obviously ... ) I just think that it's unnecessary to try and program for every notification back end than provide our own. \r\n\r\n\r\nAnyways, here's some mock ups from sender Tux :\r\n\r\n![qtox-notifications-mock-new-message](https://cloud.githubusercontent.com/assets/1356364/12774214/bbe21404-ca10-11e5-9fde-26f1c6d8875a.png)\r\nThe black border could change depending on the theme the user has set.\r\n\r\n![qtox-notifications-mock-file-transfer](https://cloud.githubusercontent.com/assets/1356364/12774252/0c38c34e-ca11-11e5-91e0-03ddf112f772.png)\r\nIcon could change depending on file type\r\n\r\n![qtox-notifications-mock-incoming-call](https://cloud.githubusercontent.com/assets/1356364/12774269/2c54db86-ca11-11e5-86c4-9356afa90571.png)\r\nThis one just seemed obvious to have.\r\n\r\nAnyways, thoughts? Felt like this was something that might need some discussion.\r\n\r\nEnd credits\r\n---\r\nExample User used: @tux3  \r\nFonts:\r\n\r\n- DejaVu Sans\r\n- Font Awesome\r\n\r\nDimensions:\r\n\r\n- Notification Box: 400x100 px\r\n- Theme color box: 100x100 px\r\n- Avatar in notification: 80x80 px\r\n\r\n\r\nLorem ipsum message:\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet mauris pellentes(...)que ante mollis hendrerit. Aliquam erat volutpat. Curabitur lorem mauris, bibendum at enim.\r\n\r\n###### Yes I know certain things don't quite line up, it's a mock up okay?"},"comment":{"url":"https://api.github.com/repos/tux3/qTox/issues/comments/179610142","html_url":"https://github.com/tux3/qTox/issues/2921#issuecomment-179610142","issue_url":"https://api.github.com/repos/tux3/qTox/issues/2921","id":179610142,"user":{"login":"anoadragon453","id":1342360,"avatar_url":"https://avatars.githubusercontent.com/u/1342360?v=3","gravatar_id":"","url":"https://api.github.com/users/anoadragon453","html_url":"https://github.com/anoadragon453","followers_url":"https://api.github.com/users/anoadragon453/followers","following_url":"https://api.github.com/users/anoadragon453/following{/other_user}","gists_url":"https://api.github.com/users/anoadragon453/gists{/gist_id}","starred_url":"https://api.github.com/users/anoadragon453/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoadragon453/subscriptions","organizations_url":"https://api.github.com/users/anoadragon453/orgs","repos_url":"https://api.github.com/users/anoadragon453/repos","events_url":"https://api.github.com/users/anoadragon453/events{/privacy}","received_events_url":"https://api.github.com/users/anoadragon453/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T03:58:11Z","updated_at":"2016-02-04T03:58:11Z","body":"I can test Windows, OSX, Gnome, XFCE."}}