GithubHelp home page GithubHelp logo

lomirus / gtk-qq Goto Github PK

View Code? Open in Web Editor NEW
200.0 3.0 12.0 709 KB

Unofficial Linux QQ client, based on GTK4 and libadwaita, developed with Rust and Relm4.

License: GNU Affero General Public License v3.0

Rust 99.42% Meson 0.56% CSS 0.02%
gtk rust gtk4 libadwaita qq

gtk-qq's Introduction

gtk-qq's People

Contributors

goodjooy avatar lomirus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gtk-qq's Issues

Unable to login: timeout error

The gtk-qq was Installed by using yay -S gtk-qq-git, there is no error occured in the building progress, but I failed to login with a message box: timeout error. Is there any problem in my installation or the network problem? (I'm using China network when trying to login)

invalid gvdb header

使用nightly buil通过后,但是运行src/main.rs出现下面错误

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { domain: g-resource-error-quark, code: 1, message: "invalid gvdb header" }', src/main.rs:39:47
stack backtrace:
   0:     0x560db49b84a0 - std::backtrace_rs::backtrace::libunwind::trace::heafe4e76b4fd4cac
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   1:     0x560db49b84a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h19321be3e640ae38
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x560db49b84a0 - std::sys_common::backtrace::_print_fmt::h2fcd792e338f1cc5
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x560db49b84a0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he5b28f0056e90af1
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x560db49dadfe - core::fmt::write::h8cee4989ef91009c
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/fmt/mod.rs:1202:17
   5:     0x560db49b31d5 - std::io::Write::write_fmt::h3fb743e9e09d846d
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/io/mod.rs:1679:15
   6:     0x560db49b9cd3 - std::sys_common::backtrace::_print::h751a1d130f5db246
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x560db49b9cd3 - std::sys_common::backtrace::print::h42eee5f5e3400273
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x560db49b9cd3 - std::panicking::default_hook::{{closure}}::hced954fcffb6800d
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:267:22
   9:     0x560db49b99bf - std::panicking::default_hook::hbc950bafaf526371
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:286:9
  10:     0x560db49ba379 - std::panicking::rust_panic_with_hook::ha913975239a26952
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:669:13
  11:     0x560db49ba277 - std::panicking::begin_panic_handler::{{closure}}::hd15d2ea30e523ac9
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:560:13
  12:     0x560db49b894c - std::sys_common::backtrace::__rust_end_short_backtrace::h991cb75202f3fe80
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:138:18
  13:     0x560db49b9f92 - rust_begin_unwind
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:556:5
  14:     0x560db3d3e2a3 - core::panicking::panic_fmt::hadf97da9eb1db8d0
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/panicking.rs:142:14
  15:     0x560db3d3e3f3 - core::result::unwrap_failed::h7567ca1ff620d57a
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/result.rs:1785:5
  16:     0x560db4138570 - core::result::Result<T,E>::unwrap::hd544b6b815296545
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/result.rs:1107:23
  17:     0x560db3f1cb08 - gtk_qq::init_resources::h82d09919be8e4455
                               at /home/user/Workspace/Projects/IdeaProjects/Rust/gtk-qq/src/main.rs:39:15
  18:     0x560db3f43e2b - gtk_qq::main::{{closure}}::hd3e8049f5786cc55
                               at /home/user/Workspace/Projects/IdeaProjects/Rust/gtk-qq/src/main.rs:24:5
  19:     0x560db3db7c5c - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::he945863fbdf58add
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/future/mod.rs:91:19
  20:     0x560db3f25df0 - tokio::park::thread::CachedParkThread::block_on::{{closure}}::ha6766354cae7f373
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/park/thread.rs:263:54
  21:     0x560db3de2760 - tokio::coop::with_budget::{{closure}}::haba2863dbfdbdcf7
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:102:9
  22:     0x560db3d57680 - std::thread::local::LocalKey<T>::try_with::h854ab1ad37253422
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/thread/local.rs:445:16
  23:     0x560db3d56eed - std::thread::local::LocalKey<T>::with::h3752abb491a0b071
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/thread/local.rs:421:9
  24:     0x560db3f2580e - tokio::coop::with_budget::hf96e99983599dae4
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:95:5
  25:     0x560db3f2580e - tokio::coop::budget::h7e4a2794295f390d
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:72:5
  26:     0x560db3f2580e - tokio::park::thread::CachedParkThread::block_on::h56cbeed176b3f947
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/park/thread.rs:263:31
  27:     0x560db3efca72 - tokio::runtime::enter::Enter::block_on::hd4e50190375c5df0
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/enter.rs:151:13
  28:     0x560db3f19c4e - tokio::runtime::thread_pool::ThreadPool::block_on::h43a96a8dc0eb7033
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/thread_pool/mod.rs:81:9
  29:     0x560db3f42c5b - tokio::runtime::Runtime::block_on::h77e5c5d38621280f
                               at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/mod.rs:477:43
  30:     0x560db3f1cc55 - gtk_qq::main::hc11e23b2831cb6f1
                               at /home/user/Workspace/Projects/IdeaProjects/Rust/gtk-qq/src/main.rs:34:5
  31:     0x560db3e55ceb - core::ops::function::FnOnce::call_once::hd92a2667723f18e6
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/ops/function.rs:251:5
  32:     0x560db3f8775e - std::sys_common::backtrace::__rust_begin_short_backtrace::hceed64cb09cef062
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/sys_common/backtrace.rs:122:18
  33:     0x560db3ecddf1 - std::rt::lang_start::{{closure}}::h9f4b24027cf4ca77
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/rt.rs:166:18
  34:     0x560db49aec7f - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h43a13d8e353fa2cf
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/core/src/ops/function.rs:286:13
  35:     0x560db49aec7f - std::panicking::try::do_call::hb4ad2451f55ff841
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:464:40
  36:     0x560db49aec7f - std::panicking::try::h1c264415a2dcd70c
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:428:19
  37:     0x560db49aec7f - std::panic::catch_unwind::h5eaacebe4b60fd6f
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panic.rs:137:14
  38:     0x560db49aec7f - std::rt::lang_start_internal::{{closure}}::hd662914f4c894eea
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/rt.rs:148:48
  39:     0x560db49aec7f - std::panicking::try::do_call::h6d84bd1c7cfdfee7
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:464:40
  40:     0x560db49aec7f - std::panicking::try::h5135ff3079ab0e64
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panicking.rs:428:19
  41:     0x560db49aec7f - std::panic::catch_unwind::h831cf44434fdd677
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/panic.rs:137:14
  42:     0x560db49aec7f - std::rt::lang_start_internal::h4e9f2db716310b0b
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/rt.rs:148:20
  43:     0x560db3ecddca - std::rt::lang_start::hc47fb56fbb71ef33
                               at /rustc/f5193a9fcc73dc09e41a90c5a2c97fc9acc16032/library/std/src/rt.rs:165:17
  44:     0x560db3f1ccf1 - main
  45:     0x7f3e7178b2d0 - <unknown>
  46:     0x7f3e7178b38a - __libc_start_main
  47:     0x560db3d3e5d5 - _start
                               at /build/glibc/src/glibc/csu/../sysdeps/x86_64/start.S:115
  48:                0x0 - <unknown>

我用的是idea 运行配置如图
image
系统:manjaro linux内核5.15 gnome42

无法成功加载群聊名称

Failed to get group name: 30****897
Help: Try to refresh the groups list in sidebar. If the problem still exists, please report it on Github.
Failed to get group name: 30****897
Help: Try to refresh the groups list in sidebar. If the problem still exists, please report it on Github.
Failed to get group name: 30****897
Help: Try to refresh the groups list in sidebar. If the problem still exists, please report it on Github.

类似这样的日志输出

Archlinux,
rustc 1.64.0-nightly (830880640 2022-06-28),
cargo 1.64.0-nightly (a5e08c470 2022-06-23),
commit 3b7060cf6d02ada0679a838f433274a46d6471ad

app crashed when model.render_friends().unwrap()

in commit 594ecc1

$ RUST_BACKTRACE=full cargo run --release

output:

    Finished release [optimized] target(s) in 0.19s
     Running `target/release/gtk-qq`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("no such column: online_friends"))', src/app/main/sidebar/mod.rs:300:32
stack backtrace:
   0:     0x55b308d32093 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h07d3f2a372576cbe
   1:     0x55b308a9341c - core::fmt::write::h4ebe701d85c94ca8
   2:     0x55b308d0ff14 - std::io::Write::write_fmt::hffa84244667f3bd5
   3:     0x55b308d3305a - std::panicking::default_hook::{{closure}}::h14b6463dad875667
   4:     0x55b308d34046 - std::panicking::rust_panic_with_hook::h4c7a8f77d30cacfb
   5:     0x55b308d33b12 - std::panicking::begin_panic_handler::{{closure}}::hc2c68fe973ffceeb
   6:     0x55b308d33a86 - std::sys_common::backtrace::__rust_end_short_backtrace::h0e866ceeabd797f3
   7:     0x55b308d33a42 - rust_begin_unwind
   8:     0x55b3089fc422 - core::panicking::panic_fmt::hfe7a0866bcdeb67d
   9:     0x55b3089fc5c2 - core::result::unwrap_failed::hd90a73fae5177e0b
  10:     0x55b308b427b0 - relm4::component::builder::ComponentBuilder<C>::launch::hd7644ea843f3b44a
  11:     0x55b308b696b5 - <C as relm4::component::traits::Component>::init::h89741bc01216dc56
  12:     0x55b308a65bde - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h3206657e364f3133
  13:     0x55b308abc82c - gtk_qq::main::h7e72c33eb3b48e8d
  14:     0x55b308b661a3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5cd5310ba0b2dd7b
  15:     0x55b308abbf73 - main
  16:     0x7f072801b34a - <unknown>
  17:     0x7f072801b3fc - __libc_start_main
  18:     0x55b308a104a1 - _start
  19:                0x0 - <unknown>

Auto login greyed out

Why is that? Is that a feature that is not yet implemented? Or are there something I have to do to enable it?

Not responding when receiving messages

When you send and receive messages in an order like this:

Another: XXX
You: XXX
Another: XXX

The app will be no responding. The cause of the problem is still under research

AUR Build failure: error[E0658]: `impl Trait` in associated types is unstable

System info

ArchLinux rolling, built from AUR.

Build log

PC➜  ~ pikaur -S gtk-qq-git --noconfirm --overwrite '/*'
Reading repository package databases...
Reading local package database...
Resolving AUR dependencies...
looking for conflicting AUR packages...
Not showing diff for gtk-qq-git package (--noconfirm)
:: Skipping review of PKGBUILD for gtk-qq-git package (--noconfirm)

Reading local package database...
:: Installing repository dependencies for gtk-qq-git:
resolving dependencies...
looking for conflicting packages...

Packages (4) ninja-1.11.1-3  python-tqdm-4.65.0-3  meson-1.2.0-2  rustup-1.26.0-3

Total Installed Size:  21.05 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                                                                     [####################################################################] 100%
(4/4) checking package integrity                                                                                   [####################################################################] 100%
(4/4) loading package files                                                                                        [####################################################################] 100%
(4/4) checking for file conflicts                                                                                  [####################################################################] 100%
(4/4) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/4) installing rustup                                                                                            [####################################################################] 100%
You may need to run rustup update stable
and possibly also rustup self upgrade-data
Optional dependencies for rustup
    lldb: rust-lldb script
    gdb: rust-gdb script [installed]
(2/4) installing ninja                                                                                             [####################################################################] 100%
(3/4) installing python-tqdm                                                                                       [####################################################################] 100%
Optional dependencies for python-tqdm
    python-requests: telegram [installed]
(4/4) installing meson                                                                                             [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Reading local package database...
:: Downloading the latest sources for a devel package gtk-qq-git...

:: Starting the build:
==> Making package: gtk-qq-git 0.2.0.r164.gac4ee76-1 (Fri 28 Jul 2023 08:37:49 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating gtk-qq git repo...
  -> Found gtk-qq.desktop
  -> Found gtk-qq.png
==> Validating source files with sha512sums...
    gtk-qq ... Skipped
    gtk-qq.desktop ... Passed
    gtk-qq.png ... Passed
==> Extracting sources...
  -> Creating working copy of gtk-qq git repo...
Reset branch 'makepkg'
==> Starting prepare()...
rustc 1.73.0-nightly (04abc370b 2023-07-28)
/home/recolic/.cache/pikaur/build/gtk-qq-git/PKGBUILD: line 32: [: ==: unary operator expected
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson setup --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/recolic/.cache/pikaur/build/gtk-qq-git/src/gtk-qq/builddir
ninja: Entering directory `/home/recolic/.cache/pikaur/build/gtk-qq-git/src/gtk-qq/builddir'
ninja: no work to do.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
info: using existing install for 'nightly-x86_64-unknown-linux-gnu'
info: override toolchain for '/home/recolic/.cache/pikaur/build/gtk-qq-git/src/gtk-qq' set to 'nightly-x86_64-unknown-linux-gnu'

  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.73.0-nightly (04abc370b 2023-07-28)

   Compiling gdk-pixbuf v0.16.0 (https://github.com/gtk-rs/gtk-rs-core#41d93071)
   Compiling ricq-core v0.1.17 (https://github.com/lz1998/ricq.git?rev=56620d755f35f7b6ade52991be62360b3377547c#56620d75)
   Compiling gdk4 v0.5.0 (https://github.com/gtk-rs/gtk4-rs#d771fdc7)
error[E0658]: `impl Trait` in associated types is unstable
   --> /home/recolic/.cargo/git/checkouts/ricq-6bb4bd71a72b13ed/56620d7/ricq-core/src/msg/mod.rs:100:21
    |
100 |     type IntoIter = impl Iterator<Item = RQElem> + 'static;
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

   Compiling gsk4 v0.5.0 (https://github.com/gtk-rs/gtk4-rs#d771fdc7)
   Compiling gtk4 v0.5.0 (https://github.com/gtk-rs/gtk4-rs#d771fdc7)
For more information about this error, try `rustc --explain E0658`.
error: could not compile `ricq-core` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...

Command 'makepkg --force' failed to execute.
:: Removing already installed dependencies for gtk-qq-git:
checking dependencies...
:: kate optionally requires rust: Rust LSP support

Packages (4) meson-1.2.0-2  ninja-1.11.1-3  python-tqdm-4.65.0-3  rustup-1.26.0-3

Total Removed Size:  21.05 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/4) removing meson                                                                                               [####################################################################] 100%
(2/4) removing python-tqdm                                                                                         [####################################################################] 100%
(3/4) removing rustup                                                                                              [####################################################################] 100%
(4/4) removing ninja                                                                                               [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Can't build 'gtk-qq-git'.

Failed to build following packages:
gtk-qq-git

thread 'main' panicked at 'str::ToGlibPtr<*const c_char>: unexpected ''

日志

thread 'main' panicked at 'str::ToGlibPtr<*const c_char>: unexpected '' character: NulError(32, [10, 17, 18, 15, 230, 182, 144, 226, 149, 176, 229, 164, 167, 231, 153, 189, 232, 143, 156, 10, 10, 10, 8, 37, 196, 128, 196, 128, 7, 195, 153, 16, 0])', /home/icepie/.cargo/git/checkouts/gtk-rs-core-7be42ca38bd6361c/41d9307/glib/src/translate.rs:509:32
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

复现方式

貌似收到某些消息, 就会 panic

补充

RUST_BACKTRACE=1 的时候还没遇到, 等它再 panic 我就放上来

[求助]openSUSE/Tumbleweed下编译的正确步骤

release中编译好的gtk-qq无法在openSUSE/Tumbleweed(kde)中运行,故尝试自行编译,在完善依赖后依旧编译失败,我比较业余所以想从作者处获取帮助 💖

编译报错信息

   Compiling gtk-qq v0.2.0 
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustciD4633/symbols.o" "/home/kunkun/\xe4\xb8\x8b\xe8\xbd\xbd/gtk-qq/target/release/deps/gtk_qq-0468aab82f2e21f7.gtk_qq.ed8abc2e-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/home/kunkun/\xe4\xb8\x8b\xe8\xbd\xbd/gtk-qq/target/release/deps" "-L" "/home/kunkun/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,--end-group" "-Wl,-Bstatic" "/home/kunkun/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lsqlite3" "-ladwaita-1" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgraphene-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgtk-4" "-lpangocairo-1.0" "-lpango-1.0" "-lharfbuzz" "-lgdk_pixbuf-2.0" "-lcairo-gobject" "-lcairo" "-lvulkan" "-lgraphene-1.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lharfbuzz" "-lcairo-gobject" "-lcairo" "-lgobject-2.0" "-lglib-2.0" "-lgio-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/kunkun/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/kunkun/\xe4\xb8\x8b\xe8\xbd\xbd/gtk-qq/target/release/deps/gtk_qq-0468aab82f2e21f7" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: cannot find -lsqlite3: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: could not compile `gtk-qq` due to previous error

Roadmap for v0.2.0

  • Load, cache and show avatars
  • Save login account and password
  • Cache the friends list and groups list
  • Save chats history (Delayed, may in v0.3.0 or later)
  • Push notification when receiving message
  • Add unread badge for chat item (Delayed, may in v0.3.0 or later)
  • Support images messages (Delayed, may in v0.3.0 or later)

Note

Some plans may be postponed to the v0.3.0 or even later due to actual development progress and difficulty.

Scroll down chatroom view aumatically when pushing new message.

Requirements Description

  • When the user sends or receives a message, and the chatroom is right at the bottom, the chatroom view should automatically scroll down the view to the bottom.
  • If chatroom is not right at the bottom, no scroll operation is needed.

My Attempt

let adjustment = view.vadjustment();
adjustment.connect_changed(|adjustment| {
    // Scroll down the view
    let view_height = adjustment.upper() - adjustment.page_size();
    adjustment.set_value(view_height);
});

That's what I wrote trying to implement this function. However, it has a weird behaviour:

2022-05-19.15-06-42.mp4

As the video shows: the scrollbar updates, while the view does not.

Hopefully this message does help to you if you want to contribute about it.

PR WELCOME

"Device Lock Verify Introduction" 的链接为<unknown>

在Device Lock Verify Introduction界面
提示Please open the link below and use your logged in device [sms:todo] to verify
但是点击下面的Device Lock Verification无反应,点击Copy Link后复制的是<unknown>

rust依赖

build这个项目需要rust依赖。但是并没有写到Requirements栏里(

login response: NeedCaptcha

when I press the Login button there is no response in GUI, the console message shows NeedCaptcha but where can I find it?

image

system info:

  • wm: bspwm
  • distro: gentoo

Preparation for v0.1.0

Main

  • Polish the chatroom messages UI
  • Add login event handler
  • Add send message event handler
  • Add about window
  • Add keyboard shortcuts window (Delayed, maybe in v0.3 or even later)
  • Implement password login function
  • Get and render the contact (friend list)
  • Open chatroom when user in contact is clicked
  • Load and cache the user avatars (Delayed, maybe in v0.2 or even later)
  • Implement friend text message functions
  • Implement group text message functions
  • Push notification when receiving message (Delayed, maybe in v0.2 or even later)
  • Add unread badge for chat item (Delayed, maybe in v0.2 or even later)

Chores

  • #1
  • Import RICQ related library
  • Add Cargo check and clippy in Github Action CI
  • #4

长文本挤在一行

整个视图会被撑长而不得不使用滚动条,应根据窗口大小多行显示
image

登录验证问题

你好,我在登录时出现以下问题:
因为扫码需要等待十秒,所以选择输入密码。
输入密码后弹出的验证,在网页中找到ticket输入后提示:“网络不稳定,尝试使用手机号”

我的问题:
不知道我找到的ticket是不是正确的?
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.