Summary: | support for view-only connection | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | _ <praseodym+kdebugzilla> |
Component: | general | Assignee: | Jaison Lee <lee.jaison> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
_
2005-01-02 18:38:14 UTC
You might need to have another go at explaining this. Your wish seems to be of the form "I know you can do foo, but I want foo". Please explain the difference (in exact detail) between the current behaviour and the behaviour you'd like to see. At the moment to make a view-only connection you have to connect normally and then select 'View-only' in the menu when the connected. I'd like to see a possibility to create a view-only connection from the start (so a view-only checkbox in the connect dialog). There was a short discussion on that issue in bug #54048 (I can't fully agree to the command line counter-arguments placed there). I support the request for a command line option to startup krdc in view-only mode. Currently the first thing after connecting to a PC is to switch to view only by clicking to the menu entry, while the users voice sounds out of the telephone receiver: "Do you see? I superimposed the mouse pointer ... hey, where's the mouse pointer?!" SVN commit 563036 by kling: Make "always show local cursor" and "view only" permanently configurable via krdcrc. Since we're in a GUI/message freeze, I can't add any GUI to these options until KDE4. The options and their defaults are: viewOnly=false alwaysShowLocalCursor=false BUG: 96174 BUG: 108620 M +3 -0 krdc.cpp M +2 -1 main.cpp --- branches/KDE/3.5/kdenetwork/krdc/krdc.cpp #563035:563036 @@ -21,6 +21,7 @@ #include "hostpreferences.h" #include <kapplication.h> +#include <kconfig.h> #include <kdebug.h> #include <kcombobox.h> #include <kurl.h> @@ -185,6 +186,8 @@ break; } + m_view->setViewOnly(kapp->config()->readBoolEntry("viewOnly", false)); + m_scrollView->addChild(m_view); QWhatsThis::add(m_view, i18n("Here you can see the remote desktop. If the other side allows you to control it, you can also move the mouse, click or enter keystrokes. If the content does not fit your screen, click on the toolbar's full screen button or scale button. To end the connection, just close the window.")); --- branches/KDE/3.5/kdenetwork/krdc/main.cpp #563035:563036 @@ -21,6 +21,7 @@ #include <kapplication.h> #include <klocale.h> #include <kmessagebox.h> +#include <kconfig.h> #include <kdebug.h> #include <kwallet.h> #include <qwindowdefs.h> @@ -102,7 +103,7 @@ QString keymap = QString::null; WindowMode wm = WINDOW_MODE_AUTO; bool scale = false; - bool localCursor = false; + bool localCursor = kapp->config()->readBoolEntry("alwaysShowLocalCursor", false); QSize initialWindowSize; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); |