keyboard settings not showing

Bug #1509850 reported by zleap
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JWM Settings Manager
Fix Released
High
Israel Dahl
ToriOS
Fix Released
Critical
Israel Dahl

Bug Description

Just downloaded the latest iso file, and fired up in a virtual machine.

Trying to load up the Keyboard settings from JWM and the Menu, nothing happens, I thought this had actually been resolved, but it seems broken again.

Can someone confirm the issue perhaps.

Paul

Revision history for this message
sudodus (nio-wiklund) wrote :

Please describe with more details. Otherwise it is hard to confirm.

Live or installed?

Which 'path' to the menu?

Revision history for this message
sudodus (nio-wiklund) wrote :

I tried in an installed system (installed using the current daily iso file)

Apps -- Settings -- JWM settings manager -- Keyboard

and the 'Settings manager' window disappears, but nothing else seems to happen.

If this is your problem, I can confirm it.

Revision history for this message
zleap (zleap) wrote :

I am booting the ISO as a live session inside virtual machine manager on Linux mint 17.2

Not sure what is meant by which path to the menu, if you go to jwm settings manager and click on keyboard nothing appears to happen.

Paul

Revision history for this message
zleap (zleap) wrote :

Thanks sudodus (nio-wiklund)

Yeah that confirms my bug.

Paul

Israel Dahl (israeldahl)
Changed in jwm-settings-manager:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Israel Dahl (israeldahl)
Changed in torios:
assignee: nobody → Israel Dahl (israeldahl)
importance: Undecided → Critical
status: New → Fix Committed
Revision history for this message
Israel Dahl (israeldahl) wrote :

Hey I found the problem.
Apparently it was due to 2 things.
1. the /etc/skel/.jwmrc had a blank key line
<Key key="XF86MonBrightnessDown"></Key>

2. A lot of the code from the keyboard portion is older and had some checks that don't work as well as my newer code checks:
OLD:
//get the text
std::string key=node->GetText();
//check if the string is empty or NULL

NEW:
//if the node has text THEN get it.
if(node->GetText()){ /*awesome code to get the text*/}

This should be fixed in the next release.
Thanks for finding this one! I have updated most of the code as I understand the tinyxml2 libs much better, but I suppose this one slipped through the cracks

Israel Dahl (israeldahl)
Changed in jwm-settings-manager:
status: Fix Committed → Fix Released
Changed in torios:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.