SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-08-2010, 02:52 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Item Widget and Focusable Condition?

Hello,

I have an item widget which is being used as a dummy spacer until a certain user action occurs......it needs to be in place to keep the form of the options panel from moving up and down (just looks odd if I were to disable and enable the option).

Anyway, how can I prevent this item widget from gaining focus? I've tried the "Focusable Condition" thingy but can't seem to make it work.... can I use this to prevent focus or is that meant for something else?

The only other option I have would be to send the focus to its proper place when the dummy item gains focus but that seems a bit long winded for something that should be pretty easy.

Any ideas?

Cheers

Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #2  
Old 08-08-2010, 02:57 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Gah..... as soon as I posted I realised it was being affected by a theme, I removed it from the theme and now I can use the "Focusable Condition" as it was intended...... oh how I wish I could delete this thread.



Cheers

Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #3  
Old 08-08-2010, 03:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by jaminben View Post
Gah..... as soon as I posted I realised it was being affected by a theme, I removed it from the theme and now I can use the "Focusable Condition" as it was intended...... oh how I wish I could delete this thread.



Cheers

Ben
If you were to delete it, how would people lavish you with ridicule?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 08-11-2010, 11:05 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Yeah, that's one of my gripes with Studio - the themes are powerful and useful, but it is not immediately obvious when a property that you try to set will be overridden by a theme. It would be nice if there was some visual indicator (perhaps Studio could detect when a theme's properties are going to be used and grey-out the properties unless you have a checkmark in the override theme properties box).
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #5  
Old 08-11-2010, 11:16 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by Tiki View Post
It would be nice if there was some visual indicator (perhaps Studio could detect when a theme's properties are going to be used and grey-out the properties unless you have a checkmark in the override theme properties box).
Since widgets can be referenced from multiple places & those places could be affected by different themes, it would be next to impossible to say that a specific widget is affected by a theme.

But, you can use the Debug -> UI Components menu item to see the current UI components & that has an option to highlight the theme affecting a widget when you right click on a widget.

You can also tell if the widget whose properties you are editing is affected by a theme by simply dragging the sizing, transparency, or some other property controllers. If the UI element controlled by that widget doesn't change, then it is probably controlled by a theme.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #6  
Old 08-11-2010, 11:51 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Actually I've always felt it should be the other way round: themes should "underride" rather than override widget properties, so that any property not explicitly specified by a widget would default to the theme's value, but the widget could still override individual theme properties just by specifying them explictly. Then it would be clear at a glance which properties are theme-controlled, namely, the ones left blank in the widget's own property dialog. (But as Andy notes, this still wouldn't tell you which theme is in control, since that depends on the runtime execution path.)

With that kind of inheritance rule, it would then be possible to create chains of themes in a superclass-subclass type of relationship, with each theme inheriting from a more generic theme above it and overriding the few properties it wants to change.

Unfortunately I don't think either of these features is likely to be implemented, since they would be massively incompatible with existing STV code.
__________________
-- Greg
Reply With Quote
  #7  
Old 08-11-2010, 07:52 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by GKusnick View Post
Actually I've always felt it should be the other way round: themes should "underride" rather than override widget properties, so that any property not explicitly specified by a widget would default to the theme's value, but the widget could still override individual theme properties just by specifying them explictly. Then it would be clear at a glance which properties are theme-controlled, namely, the ones left blank in the widget's own property dialog. (But as Andy notes, this still wouldn't tell you which theme is in control, since that depends on the runtime execution path.)

With that kind of inheritance rule, it would then be possible to create chains of themes in a superclass-subclass type of relationship, with each theme inheriting from a more generic theme above it and overriding the few properties it wants to change.

Unfortunately I don't think either of these features is likely to be implemented, since they would be massively incompatible with existing STV code.
I agree that this is how I would have intuitively thought it would work.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #8  
Old 08-11-2010, 07:54 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Fuzzy View Post
I agree that this is how I would have intuitively thought it would work.
+2 but also agree it would probably break a heck of allot changing it this far in the game.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a menu item robind SageTV Beta Test Software 7 07-23-2010 02:01 PM
Seeing the selected Item on Menus redman SageTV Beta Test Software 1 06-22-2010 09:47 PM
Menu item disappeared sleonard SageTV Customizations 2 02-27-2009 12:01 AM
Scaling Text widget size within image widget area Morgan111 SageTV Studio 2 12-04-2006 02:16 PM


All times are GMT -6. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.