LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-26-2013, 02:56 PM   #1
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Rep: Reputation: 15
Wesnoth only detects mouse clicks in KDE


Slackware-current 64bit, mainly using E17 as window manager. As I say, Battle for Wesnoth doesn't detect clicks. It detects mouse position, because buttons highlight when the mouse goes over them, but not clicks. I tried it in E17, and also fluxbox, with the same results. Then I tried it in KDE, and it works fine.

Wesnoth installed from SBo. Starting from terminal doesn't give any errors, either. I have no similar problems with other programmes.
 
Old 01-26-2013, 08:47 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm the current maintainer of Wesnoth in SBo and yes, i used KDE on my daily basis, so i found it working fine on my system and since i don't have E17 and fluxbox on my system, i can't reproduce it on my system. I also used 32 bit machine, but i don't think it would cause some problem when clicking. I think it's DE's related.

so far, i didn't find any bug report about this before, but i will try to help solve this problem out.

First, i need some information from you:
1. Have you used the latest SlackBuild or do you perform an upgrade using an old SlackBuild and changed the VERSION line instead?
2. I'm assuming you are using 1.10.5. Am i correct?
3. Have you tried to remove .wesnoth and restart the application? There's a possibility of having this problem due to an old configuration
4. Do you use full screen of windowed mode?

I found a patch for sdl that might be the culprit
If you don't mind, head to my SlackHacks and try to rebuild SDL and then followed by wesnoth rebuild.
Hopefully this should fix your clicking bug.

Anyway, let me know if it's working since i might have to report this to Patrick if it happened to fix the problem as it might affect other application as well.

Update:
I have built E17 and installed Fluxbox on my machine and tested the new SDL package and rebuilt Wesnoth afterwards and i'm able to click on every buttons. So i can confirm that the SDL package is the culprit. You may want to recompile SDL with the patch available on my SlackHacks repository above

Last edited by willysr; 01-27-2013 at 02:47 AM.
 
Old 01-27-2013, 04:51 AM   #3
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by willysr View Post
1. Have you used the latest SlackBuild or do you perform an upgrade using an old SlackBuild and changed the VERSION line instead?
Latest slackbuild, through sbopkg in fact.

Quote:
2. I'm assuming you are using 1.10.5. Am i correct?
You are correct.

Quote:
3. Have you tried to remove .wesnoth and restart the application? There's a possibility of having this problem due to an old configuration
Removed ~/.config/wesnoth, ~/.local/share/wesnoth and ~/.cache/wesnoth, to no effect.

Quote:
4. Do you use full screen of windowed mode?
Ah, this is odd. It was windowed, because it's windowed by default and I couldn't click preferences, but now I've set it to fullscreen while in KDE then gone back into E17, and it works fine in fullscreen. The odd thing is that when I switch it back to windowed mode it stops registering clicks again, except clicking on "Full screen" again.

Quote:
I found a patch for sdl that might be the culprit
If you don't mind, head to my SlackHacks and try to rebuild SDL and then followed by wesnoth rebuild.
Hopefully this should fix your clicking bug.

Anyway, let me know if it's working since i might have to report this to Patrick if it happened to fix the problem as it might affect other application as well.

Update:
I have built E17 and installed Fluxbox on my machine and tested the new SDL package and rebuilt Wesnoth afterwards and i'm able to click on every buttons. So i can confirm that the SDL package is the culprit. You may want to recompile SDL with the patch available on my SlackHacks repository above
I will do so.
 
Old 01-27-2013, 04:58 AM   #4
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 175

Rep: Reputation: Disabled
There was a similar topic several days ago:
http://www.linuxquestions.org/questi...es-4175446380/

It's not a Wesnoth bug. The problem here is SDL 1.2.14. This shows up only when SDL game is started in windowed mode. Not in full screen. Take look at the above link for more info.
 
Old 01-27-2013, 10:00 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Didn't notice that thread, sorry
Yeah, SDL is the culprit and the solution is the same as bobzilla has pointed
 
Old 02-08-2013, 12:34 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Finall SDL is now fixed in -Current and upgraded to latest version as well
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Battle for Wesnoth 1.10 Review - Universe of Wesnoth, Reloaded LXer Syndicated Linux News 0 02-15-2012 03:00 AM
Mouse not responding to clicks c0smic Fedora 1 05-08-2011 06:31 AM
random mouse clicks SuSE 9.3 MichaelLange Linux - Hardware 3 03-09-2006 05:10 PM
How to capture clicks from mouse to a file floydigus Linux - Hardware 2 07-02-2005 01:40 AM
Simulated mouse clicks in linux? devilkin Programming 2 02-14-2005 07:59 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration