{"action":"created","issue":{"url":"https://api.github.com/repos/openstenoproject/plover/issues/571","repository_url":"https://api.github.com/repos/openstenoproject/plover","labels_url":"https://api.github.com/repos/openstenoproject/plover/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/openstenoproject/plover/issues/571/comments","events_url":"https://api.github.com/repos/openstenoproject/plover/issues/571/events","html_url":"https://github.com/openstenoproject/plover/pull/571","id":169789428,"number":571,"title":"[RFC] new UI","user":{"login":"benoit-pierre","id":5104286,"avatar_url":"https://avatars.githubusercontent.com/u/5104286?v=3","gravatar_id":"","url":"https://api.github.com/users/benoit-pierre","html_url":"https://github.com/benoit-pierre","followers_url":"https://api.github.com/users/benoit-pierre/followers","following_url":"https://api.github.com/users/benoit-pierre/following{/other_user}","gists_url":"https://api.github.com/users/benoit-pierre/gists{/gist_id}","starred_url":"https://api.github.com/users/benoit-pierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoit-pierre/subscriptions","organizations_url":"https://api.github.com/users/benoit-pierre/orgs","repos_url":"https://api.github.com/users/benoit-pierre/repos","events_url":"https://api.github.com/users/benoit-pierre/events{/privacy}","received_events_url":"https://api.github.com/users/benoit-pierre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openstenoproject/plover/labels/in-progress","name":"in-progress","color":"ddffdd"},{"url":"https://api.github.com/repos/openstenoproject/plover/labels/needs-dicussion","name":"needs-dicussion","color":"eb6420"},{"url":"https://api.github.com/repos/openstenoproject/plover/labels/needs-testing","name":"needs-testing","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2016-08-07T10:04:24Z","updated_at":"2016-08-25T19:45:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openstenoproject/plover/pulls/571","html_url":"https://github.com/openstenoproject/plover/pull/571","diff_url":"https://github.com/openstenoproject/plover/pull/571.diff","patch_url":"https://github.com/openstenoproject/plover/pull/571.patch"},"body":"The goal of this PR is get feedback on the new UI rewrite.\r\n\r\n### Test builds\r\n\r\nNote: the new UI is available for the Python 3 builds on Windows and OS X. For Linux, the Debian package still uses Python 2, and provide both the (old) WX UI and the new PyQt5 based UI, launch Plover with `plover -g qt` to select the new UI (and of course Python 3 is supported if you run from source).\r\n\r\n* [ui_preview_1](https://github.com/benoit-pierre/plover/releases/tag/ui_preview_1)\r\n* [ui_preview_2](https://github.com/benoit-pierre/plover/releases/tag/ui_preview_2)\r\n* [ui_preview_3](https://github.com/benoit-pierre/plover/releases/tag/ui_preview_3)\r\n\r\n### Major differences\r\n\r\n* The engine uses a dedicated thread.\r\n* The UI is localized: for now only full localization for French is available. For testing purpose, the `LANGUAGE` environment variable can be set to override the locale detection. Note that part of some dialogs will already be automatically localized thanks to Qt own localizations (e.g. standard OK/Cancel buttons labels), or by the OS (e.g. on Windows a native file browser is used).\r\n* window states (size and position, fonts used) are saved using Qt settings' API (instead of Plover's configuration); rational: make it easier to use the same configuration on different devices (using different fonts for different display DPI..., window sizes, etc...).\r\n\r\n### Known issues\r\n\r\n* ~~[OS X] there's no differentiation between a right and left click on the tray icon.~~\r\n* ~~[OS X] on quitting with Ctrl+Q, the warning about closing the main window is shown.~~\r\n* [OS X] the default font in the paper tape is not monospaced (not a major issue as it's now user configurable).\r\n* [Windows] one report of various crashes when using the 64bits build on Windows 7 (e.g. when re-ordering in the dictionaries manager).\r\n* [Linux] the tray icon does not work right on Ubuntu 14.04 Trusty (the PyQt5 version available is really old).\r\n* [Linux] minimize on start does not work when tray icon support is not available\r\n\r\n## Main window\r\n\r\n![main_window](https://cloud.githubusercontent.com/assets/5104286/17461761/c3ae7640-5c97-11e6-98ef-6d19c9976cd9.png)\r\n\r\nMenu layout:\r\n```\r\nFile\r\n  Toggle output\r\n  Reconnect machine\r\n  -----------------\r\n  Configure\r\n  -----------------\r\n  Show/Hide\r\n  Quit Plover\r\nTools\r\n  New translation\r\n  Lookup\r\n  Manage dictionaries\r\n  -------------------\r\n  Paper tape\r\n  Suggestions\r\nHelp\r\n  About\r\n```\r\n\r\n## Tray icon\r\n\r\nThe tray icon is automatically enabled when supported.\r\n\r\n3 different state icons (reused from #263, as I'm not much of an artist, I hope it's all right @gcr) are used:\r\n* machine disconnected:\r\n\r\n![state-disconnected](https://cloud.githubusercontent.com/assets/5104286/17461826/7c49494a-5c99-11e6-9da7-0b8e30ea7106.png)\r\n* machine connected, output disabled:\r\n\r\n![state-disabled](https://cloud.githubusercontent.com/assets/5104286/17461839/e0281e14-5c99-11e6-8ae6-48e126bbd3cd.png)\r\n* machine connected, output enabled:\r\n\r\n![state-enabled](https://cloud.githubusercontent.com/assets/5104286/17461841/e52d80b6-5c99-11e6-9c81-c48001a2075c.png)\r\n\r\nContext menu layout:\r\n```\r\nToggle output\r\nReconnect machine\r\n-----------------\r\nTools\r\n  New translation\r\n  Lookup\r\n  Manage dictionaries\r\n  -------------------\r\n  Paper tape\r\n  Suggestions\r\n-----------------\r\nConfigure\r\n-----------------\r\nHelp\r\n  About\r\n-----------------\r\nShow/Hide\r\nQuit Plover\r\n```\r\n\r\n## Configuration\r\n\r\n![configuration](https://cloud.githubusercontent.com/assets/5104286/17461920/ccd01cc0-5c9b-11e6-84f6-a18ad560c4d1.png)\r\n\r\n## Dictionaries Manager\r\n\r\n![dictionaries_manager](https://cloud.githubusercontent.com/assets/5104286/17461925/de04fcea-5c9b-11e6-98c9-5c0e1f7a9d02.png)\r\n\r\nNote:\r\n* I kept the original ordering, about flipping it: highest priority (user) dictionary on top? This way the top (visible on open) of the list will contain the dictionaries the user is more likely to interact with, and the list will match the order the dictionaries are searched.\r\n* Drag & dropping a dictionary file from an external file manager on to the list should add it to Plover.\r\n\r\n## Dictionary Editor\r\n\r\n![dictionary_editor](https://cloud.githubusercontent.com/assets/5104286/17461928/eb807cbe-5c9b-11e6-9365-29faa9c385e4.png)\r\n\r\n## Add Translation\r\n\r\n![add_translation](https://cloud.githubusercontent.com/assets/5104286/17461932/ff1a098e-5c9b-11e6-9b4b-0b0223f38427.png)\r\n\r\n## Lookup\r\n\r\n![lookup](https://cloud.githubusercontent.com/assets/5104286/17461934/07a7b9e8-5c9c-11e6-839e-4db2c51a186a.png)\r\n\r\n## Paper Tape\r\n\r\n![paper_tape](https://cloud.githubusercontent.com/assets/5104286/17461936/13f9c6b4-5c9c-11e6-8f72-bc4c0d9ecaca.png)\r\n\r\n## Suggestions\r\n\r\n![suggestions](https://cloud.githubusercontent.com/assets/5104286/17461937/1cf2bf78-5c9c-11e6-9f37-370a9a7c270a.png)\r\n\r\n## About\r\n\r\n![about](https://cloud.githubusercontent.com/assets/5104286/17461941/26e092da-5c9c-11e6-9f62-7f6748f18dcc.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openstenoproject/plover/issues/comments/242513278","html_url":"https://github.com/openstenoproject/plover/pull/571#issuecomment-242513278","issue_url":"https://api.github.com/repos/openstenoproject/plover/issues/571","id":242513278,"user":{"login":"morinted","id":5840970,"avatar_url":"https://avatars.githubusercontent.com/u/5840970?v=3","gravatar_id":"","url":"https://api.github.com/users/morinted","html_url":"https://github.com/morinted","followers_url":"https://api.github.com/users/morinted/followers","following_url":"https://api.github.com/users/morinted/following{/other_user}","gists_url":"https://api.github.com/users/morinted/gists{/gist_id}","starred_url":"https://api.github.com/users/morinted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morinted/subscriptions","organizations_url":"https://api.github.com/users/morinted/orgs","repos_url":"https://api.github.com/users/morinted/repos","events_url":"https://api.github.com/users/morinted/events{/privacy}","received_events_url":"https://api.github.com/users/morinted/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T19:45:57Z","updated_at":"2016-08-25T19:45:57Z","body":"Suggestion for what to put above the dictionary manager, dropping the machine connected status bar at the bottom:\r\n\r\n<img width=\"282\" alt=\"screen shot 2016-08-25 at 2 49 50 pm\" src=\"https://cloud.githubusercontent.com/assets/5840970/17983523/0213e07c-6adb-11e6-92f8-ea239a653d8c.png\">\r\n"}}
{"actor":{"display_login":"morinted"}}