1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

2489 Commits

Author SHA1 Message Date
novist
192f1f7d62 Delayed tray icon creation to timer event.
Added null checks around usage of tray icon object.

This change solves issues/crashes where tray is not immediately available when qTox is started. It is common on linux desktops. While for example lxqt has option to delay application autostart until panel (and thus tray) is available other desktops (like KDE) do not. Adding checks around use of icon object was not enough because application may start a little bit earlier than panel is available. For that reason tray icon creation is delayed to timer event and tried multiple times with delay of one second. Usually after few tries icon creation succeeds and signal is disconnected.

In case tray is not available qTox window is shown. This creates a side effect where starting qTox before tray is available will make application window briefly appear and when tray is available window will be hidden or remain visible as per settings. Window has to be visible if tray is unavailable because otherwise users may end up with qTox running and no way to access it. If application is started and tray is available no window flashing happens and settings are restored as usual.

Without this patch if qTox started before tray is available window is shown and changing tray icon visibility option crashes application. Thats probably a known issue.
2015-02-22 12:36:12 +02:00
tux3
559f7a60e8
Don't compile statusnotifier if disabled 2015-02-22 01:58:13 +01:00
tux3
49295c8c48
Merge branch 'statusnotifier' 2015-02-22 01:46:43 +01:00
tux3
fa57206620
statusnotifier: Handle middle clicks 2015-02-22 01:43:33 +01:00
tux3
c3700fdfec
Create systray statusnotifier ctor icon properly 2015-02-22 01:36:51 +01:00
tux3
18a9955f43
Prioritize Unity sistray backend over StatusNotifier 2015-02-22 01:28:12 +01:00
tux3
d01737572a
Fix warnings in statusnotifier 2015-02-22 01:21:20 +01:00
tux3
55d78698c2
Fix statusnotifier icon color conversion
We were passing premultiplied ARGB data to GTK, where it expected premultiplied RGBA
2015-02-22 00:56:20 +01:00
tux3
d2f10f624d
Generate statusnotifier context menu icons 2015-02-22 00:54:42 +01:00
tux3
4630129dbf
Create statusnotifier main icon via pixbuf
Instead of creating a temporary file
2015-02-22 00:48:06 +01:00
tux3
a98639bc6f
Initial statusnotifier systray context menu support 2015-02-22 00:47:18 +01:00
tux3
d6fcb9faa2
Start StatusNotifier system tray backend
Can show/hide an icon and react to left clicks for now
2015-02-21 22:55:54 +01:00
tux3
3e661e9b03
Bootstrap from more nodes until we're connected 2015-02-21 22:44:22 +01:00
tux3
1939231440
Merge branch 'pr1248' 2015-02-21 21:03:53 +01:00
Sandro Santilli
fd873fecb4 Fix build of filter_audio on unix 2015-02-21 21:01:11 +01:00
Sandro Santilli
c63a0153cf Handle more errors 2015-02-21 20:41:55 +01:00
tux3
a178e2e085
install_libfilteraudio.sh: Exit on error 2015-02-21 19:59:54 +01:00
TheLastProject
eb8527675c Oops, default for file transfer message should be no 2015-02-20 16:38:09 +01:00
TheLastProject
7202b18079 Make askQuestion more flexible, defaulting to Yes/No 2015-02-20 16:36:35 +01:00
Ansa89
7a2259283e Italian translation: update 2015-02-20 13:05:45 +01:00
tux3
244d6daca8
Change windows update host 2015-02-20 03:30:22 +01:00
tux3
059321d642
Fix warnings when ALC_LOOPBACK_CAPTURE_SAMPLES not defined 2015-02-20 01:55:43 +01:00
tux3
302ede28b3
Install 64bit updates on Win64, not 32bit
Yes, that sounds like a thing we migth want to do...

Fixes #1227, fixes #1072
2015-02-19 22:46:39 +01:00
tux3
9c807f2da8 Fix #1104 2015-02-19 21:32:29 +01:00
TheLastProject
5b6e2d5ecc Remove unused variable 2015-02-19 20:41:21 +01:00
TheLastProject
48c58322f3 Fix regression showing is typing too often 2015-02-19 20:35:08 +01:00
TheLastProject
718aad2c5a Actually use yes/no question 2015-02-19 20:32:37 +01:00
TheLastProject
ad1852622f Allow user to open all transferred files, but warn for executable files 2015-02-19 20:14:19 +01:00
novist
b7fbb4ab45 Updated windows/bootstrap.sh to build filter_audio using Makefile 2015-02-19 18:50:58 +02:00
Dubslow
0cffcef322
Added pic of compact contact list/groupchat 2015-02-18 15:15:18 -06:00
tux3
41d8e2dd53 Attempt at fixing #1187 2015-02-18 21:22:19 +01:00
Dubslow
2aabba2d38
Merge branch 'pr1223' 2015-02-18 12:11:15 -06:00
Sean
9b81816484 How did both code reviewers miss this 2015-02-18 10:07:31 -08:00
BroncoTc
27bdc3f918
translate Warning text and small fixes 2015-02-18 11:59:31 -06:00
dubslow
8d5446dfae Merge pull request #1222 from stqism/master
New OS X icon
2015-02-18 11:59:09 -06:00
dubslow
7c0fa46b42 Merge pull request #1221 from TheLastProject/offlineTypingFix
Hide is typing status when friend disconnects
2015-02-18 11:57:42 -06:00
Sean Qureshi
819c80ea4f
Future 2015-02-18 09:21:30 -08:00
Dubslow
9ca8cdfeea
Fix build issue with older OpenALs 2015-02-18 11:17:06 -06:00
Joseph Anania III
bfc06df8a5 changed emoticon widget to show 24x24 emoticons 2015-02-18 11:31:40 -05:00
TheLastProject
3116e84095 Hide is typing status when friend disconnects 2015-02-18 14:02:10 +01:00
Dubslow
b0db53682b
Fix spurious dependencies on non-unity Tox repo packages 2015-02-18 02:03:18 -06:00
Dubslow
9350547f47
Merge branch 'pr1217' 2015-02-18 01:53:12 -06:00
Dubslow
bb0a652276
Add static OpenAL to Jenkins 2015-02-18 01:26:35 -06:00
Dubslow
15917d1a01
Add experimental echo cancellation to qTox
It compiles with modified OpenAL (unchanged logic otherwise), but effectiveness needs testing (like uTox)
2015-02-18 01:10:40 -06:00
Serg
0e3093bab4 fix missed math include 2015-02-18 11:02:09 +05:00
Dubslow
1c3bcd000c
Major bug: audio filtering never actually worked
We filtered the audio after it was already processed by core, i.e. it was never used
@mwuttke97 @tux3 @Dubslow pls
2015-02-17 23:20:31 -06:00
Dubslow
15dcff6d2d
Use filter_audio Makefile, bump sodium version
May help with #1128
@novist bootstrap.sh no longer calls install_libfilteraudio.sh, I'd like you to fix Windows as necessary (I have no idea if the filter_audio Makefile supports Windows or not). I'd like to remove install_libfilteraudio.sh if possible.
2015-02-17 22:08:12 -06:00
Dubslow
ec6bed5a99
Fix #1169 2015-02-17 21:07:56 -06:00
Dubslow
68c3d3ed07
Single line copy/pasted text 2015-02-17 20:44:23 -06:00
Dubslow
d1683f8139
Merge branches 'pr1205', 'pr1206', 'pr1208', 'pr1209' and 'pr1214' 2015-02-17 20:36:08 -06:00