Code Monkey home page Code Monkey logo

Comments (5)

ouwou avatar ouwou commented on May 24, 2024

does clicking it not work either (in case its a UI bug)? and do any other settings in the .ini work? thats a weird issue since pressing OK and having at least 1 character in there should unconditionally allow you to try to connect

from abaddon.

pipipear avatar pipipear commented on May 24, 2024

It turns out the Connect option is only clickable if the Application Menu is removed from the title bar in KDE Plasma.
04 13 2022-23 22 2804 13 2022-23 23 31

from abaddon.

ouwou avatar ouwou commented on May 24, 2024

oh i think i see the issue. the callback that runs for updating the menu doesnt get called in the first case since its outside of the GTK window, so this would have broken last week by 61cde0f when i tried to fix other menu stuff. ill have to think of a workaround since updating the menu as its opened seems to be kind of difficult to do properly in GTK

from abaddon.

ouwou avatar ouwou commented on May 24, 2024

can you try applying this? i doubt it will work but it would be rather convenient if it did. if not, ill probably have a fix by tomorrow

diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp
index e12e9bd..d3f922d 100644
--- a/src/windows/mainwindow.cpp
+++ b/src/windows/mainwindow.cpp
@@ -237,11 +237,8 @@ void MainWindow::SetupMenu() {
     m_menu_bar.append(m_menu_view);
     m_menu_bar.show_all();
 
-    m_menu_bar.signal_event().connect([this](GdkEvent *ev) -> bool {
-        OnViewSubmenuPopup();
-        OnDiscordSubmenuPopup();
-        return false;
-    });
+    m_menu_view.signal_event().connect([this](GdkEvent *ev) -> bool { OnViewSubmenuPopup(); return false; }, false);
+    m_menu_discord.signal_event().connect([this](GdkEvent *ev) -> bool { OnDiscordSubmenuPopup(); return false; }, false);
 
     m_menu_discord_connect.signal_activate().connect([this] {
         m_signal_action_connect.emit();

from abaddon.

ouwou avatar ouwou commented on May 24, 2024

im pretty confident the latest commit fixes this. feel free to reopen if theres any other issues

from abaddon.

Related Issues (20)

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.