I have a problem with my OpenSuSE 13.2 system. It’s been happening for a while, I’ve just been really busy and haven’t had a chance to look into it. I was hoping someone could help me out here. I thought it was a bug in YaST and perhaps it’d work itself out with system updates but I’m starting to think this is happening just on my system. Here’s the problem.
I fire up YaST. Everything appears fine. First off though, nothing appears in the task bar. You know, where the applications that are running are listed, on my system, the very bottom of the screen. Right now I see my browser listed and I also see a terminal listed. Although I have the package manager running, the only way I can see it is if I minimize those two windows or I CTRL-Tab. Than I can choose Y2base. I believe some other applications have this problem but they’re all system ones. For example, If I type YaST in the search bar, a window pops up that says Administrator Settings and it has various categories, Software, hardware, System, etc. Again, this does not appear in the taskbar at the bottom of the screen. I have to CTRL-Tab and I can choose Y2controlcenter-… to get to it.
The problem I listed is not the problem I’m writing about but I’m thinking perhaps they’re related some how. My problem has to deal with the package manager. When I start it by searching for Software Management, the window pops up and lists all the packages in my system that’s installed, plus all the available ones. However, this is where it gets weird. When I click in the Find box and I go to type something, my letters get switched around. If I type qcad, it comes out as dacq or qdac. If I type cad, it comes out as dac. I have to type extremely slow in order for it to come up properly. Just about every word I try to type ends up like this. Like the buffer that stores my keystrokes is messed up or something.
As far as I can tell, this only happens in the Software Manager. I seem to be able to type normally everywhere else. Does anyone have any ideas on how to fix either of these two problems? Any help would be greatly appreciated. Thank you.
On 2015-08-20 23:06, Spork Schivago wrote:
> As far as I can tell, this only happens in the Software Manager. I
> seem to be able to type normally everywhere else. Does anyone have any
> ideas on how to fix either of these two problems? Any help would be
> greatly appreciated. Thank you.
Do you live in a country where they write from right to left, perhaps?
Or have you played with such settings?
Thanks for replying. No, in my country (USA), we generally right left to right. I wouldn’t even know where to find settings like that. If I type slow, it works fine. If I type fast, even a decent speed, it’ll switch letters around on me. When I say slow, I mean literally, I have to type a letter, wait a good second or two, type again. I can type fast enough with one finger where it messes it up some times. It’s extremely annoying.
Are you using the GTK version of YaST?
That’s known to have problems with the search function. Nobody fixed those problems (and others), so it got completely dropped and removed from the distribution meanwhile.
Use the Qt version instead, that one should not have this problem, or learn to accept it…
So this is a known problem with the GTK version? I knew there was some bug with the search feature being completely missing, or at least that’s what I remember. I do believe I’m running the GTK version of YaST. I type /sbin/yast2 -qt at the terminal window and it’s totally different. How do i make the change system wide? So when I type in the search bar in Gnome Software Manager, it starts the QT version?
I changed the default settings over so my system uses the QT version now. Instead of waiting for someone to do the work for me and find the solution, I decided to just simply google how to change over.
However, YaST and the Software Manager are still missing from the titlebar on the bottom. Only way to access them is to minimize the other screens or CTRL-Tab / Super-Tab to them. Any suggestions on how to fix that?
One last thing. From the sounds of it, it sounds like GTK is not so stable, is that correct? I’ve just started writing a program and I’m going to be needing to make a GUI version. I was going with GTK because it seemed easier and I don’t know anything about QT. I just started so if I should switch to QT, I should make the switch now. Whatever I choose, I need to be able to compile it on both Windows (32-bit and 64-bit) and Linux without changing the code, or at least without changing it drastically. I know this isn’t the correct section on the forum for this kind of question, but you do seem to know a bit about GTK and QT. Should I be using QT for my application?
> without changing it drastically. I know this isn’t the correct section
> on the forum for this kind of question, but you do seem to know a bit
> about GTK and QT. Should I be using QT for my application?
No, I think it just means that an application has problems
If you want more food for thought, consider that SLES ships with gnome,
not kde, which means they consider it stable.
But AFAIK GTK (which once was the Gimp ToolKit, but has become the GNOME ToolKit in version 3) doesn’t care about interoperability any more, at least that’s how it seems to be sometimes.
Not with KDE or other Linux desktop environments, and even less with Windows…
QT OTOH always was and still is developed to work on several OSes.
(it even adapts to GNOME in Linux… )
As a sidenote, personally I always found QT easier to use than GTK.
I know the sample GTK application I run in Windows to show that I have GTK setup correctly seems a bit buggy. When I scroll through the various examples, it’s not very smooth at all. I was reading, and someone said for Qt, you need to know C++. I cannot say that I know C++. I used to, a long time ago, but only what a man could learn during one college semester at a 2 year SUNY school. I looked in wxWidget, that’s a C++ library though. No C version. Qt applications will run in Gnome, right? Not just KDE? Or will there be a bunch of issues for the default Gnome user wanting to run a pre compiled binary?
Sometimes I think the less sleep I get, the lower my IQ gets! The whole question about Qt applications running in Gnome…what was I thinking? The solution to my original problem was to run YaST in Qt mode. Duh! Wouldn’t linking statically make the program huge? It would also make it so people wouldn’t require the same versions of the libraries I compiled with though, right? Hopefully none of this will be a problem. Hopefully I can just release the source for the Linux people and they can compile their own. I dunno if the company that made the hardware will let me though. I don’t know how that works. They shared their RS232 protocol with me so I could write a custom program to work with their hardware. I don’t know if I can legally share the information without their permission or not. Wonder if I’d be breaking any laws? I should probably ask the company anyway, just out of respect I guess. Thanks for all the help. The original problem seems to be solved now.
Yes, depending on what you understand by “huge”…
It would basically include the libraries, that would otherwise need to be installed separately. So if they are not installed on target system already anyway, it wouldn’t even make much difference probably.
Using Qt5 (and not Qt4) would improve things in both cases, as the libraries have been split up in smaller libs (and packages), you only need the ones you use.
Another option would probably be to stick to GTK2 (not GTK3). That’s well established on Linux and Windows, and is a C library.
Many non-GNOME projects stayed with GTK2 (GIMP e.g.), or even switched back to it (or to Qt) after trying to go with GTK3.
Of course, a GNOME3 system wouldn’t necessarily have GTK2 installed either. openSUSE does install GTK2 by default though.
It would also make it so people wouldn’t require the same versions of the libraries I compiled with though, right?
Right, you basically ship them embedded in your application.
That’s not even specific to Qt of course.