Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
0 votes
0 answers
8 views

the softkeyboard makes view disappear when it pops up

I have this situation when i get the focus on the inputText, therefore triggering the softkeyboard to show up, the second text and the second button disappear. I tried to examine with the debbugger, ...
8699 votes
67 answers
3.2m views

How do I check if an element is hidden in jQuery?

How do I toggle the visibility of an element using .hide(), .show(), or .toggle()? How do I test if an element is visible or hidden?
3 votes
1 answer
659 views

How to make an item visible in my binary crate targets but not any other crates?

I would like to generate multiple binaries using a lot of the same common code. If I write everything in src/main.rs I can simply mark items at pub(crate) and access the code without exporting it. ...
0 votes
1 answer
77 views

How can I make an element stop glitching if it gains visibility when another element behind it is hovered?

I have two divs; let's call them div 1 and div 2 and the one on top of the other is set to visibility:hidden: Basically the info div is supposed to appear whenever you hover the other one. That part ...
3 votes
5 answers
209 views

Hiding record from child packages

package Parent is type Item is private; function Get return Item; private type Item is record Value : Boolean; end record; procedure Set (Object ...
5 votes
1 answer
343 views

Make internal declarations visible to other modules in Kotlin

I have a Kotlin project that uses Gradle for building/testing. In Kotlin you can mark dependencies as internal, for example: internal class MyClass : MyInterface Now, I also want to run some ...
0 votes
0 answers
27 views

Error in {task 1 failed - [readValues] cannot read values in R doParallel "foreach"

I am trying to speed up an intervisibility calculation between landscape viewpoints (X, Y, height), using a rasterprofile and line of sight functions over a digital elevation model. I ran a large-...
1 vote
1 answer
126 views

Cypress testing issue: Cart modal not visible

I'm forwarding the code containing the exemplary working steps, finishing with clicking the Add to Basket button. Steps after that should consider that a cart modal appears, and Cypress should click ...
0 votes
1 answer
52 views

C# When I open Panel first time it doesnt trigger VisibilityChanged WinForms

I have a UserPanel class that has Controls in it buttons,Labels ect. When the Panel is created at runtime it passes to the Constructor of Form1 (this) so I can use some methods and I have a ...
1 vote
2 answers
2k views

Private property in parent class can be accessed and re-assigned through the instance of child class in PHP but protected one can't

I am very confused why $produk1->harga = 500; can still make a change (or re-assign the value 500) to private $harga property despite private $harga in class Produk has PRIVATE visibility ? $...
0 votes
3 answers
63 views

CSS Display None or Visibility Isn't Working

I have a list of links that are horizontal on the homepage of my site. However, while making the site responsive once the screen gets too small, like for mobile devices I want to change it to where ...
1 vote
2 answers
10k views

div section visibility true/false on certain pages asp.net

im a newbie in asp.net and i have a issue. i need to make my div section visible only on some pages. i placed attribute style:(not with " on start of course) <div ID="id1" class="grid-box width33 ...
6 votes
4 answers
4k views

Determine visibility / real z-index of html elements

Is it possible to determine if an html element is visible to the user? Example A page has an input field with a datepicker. If the user clicks on the input field, another div appears which allows ...
0 votes
1 answer
99 views

Set a timer for the visibility of a button

This is purely theoretical put let's say once I put a timer for a button to appear only 86400 second later (like 24h), will it the count down continue after the app is shut down ? Can the user close ...
0 votes
2 answers
68 views

Component not visible after using "setVisible(true)" on it and its parent

I've got a Java 8 app with a couple of JTextFields and a JButton to log into a database and a JTextArea inside a JScrollPane to display errors. Both the textarea and the scrollpane have to be hidden (...
0 votes
1 answer
24 views

Bazel cc_binary uses as deps attr a cc_library comming from another repo however not using it

I am new in Bazel and trying to build a cc_binary with cc_library from another repository. Lets assume we have two repos: repA repB in repA: -uart.c -uart.h -BUILD the content of BUILD is ...
0 votes
2 answers
72 views

VB.NET Button Method not setting Visibility to True

In VB.NET Button click event I am unable to set Visible = true. In all examples in the code below the Control visible property is set to False although the code is setting it to True? Does anyone ...
0 votes
1 answer
40 views

Multiple instance of a Service - SQS consumer

I have a Service called DataProcessService which is deployed with multiple instances in the service for scaling. The DataProcessService has SQS consumer which receives a message from the SQS topic, ...
17 votes
2 answers
16k views

How can I fix warning that Class 'Shape' is exposed outside its defined visibility scope?

I made function 'warn' in line 17 whose parameter is enum Shape. Why is it warning about visibility scope and how can I fix it? import java.util.Scanner; public class AreaCalculator { enum Shape ...
1 vote
2 answers
2k views

Is __attribute__((visibility("default"))) needed for structs whose implementation is done in the header file? (C++)

I am not sure whether having a struct fully implemented in the header file will make any difference on its need of __attribute__(( visibility("default"))) when being used as part of a shared ...
1 vote
1 answer
185 views

The solution on how to wait for element to be visible in Shadow DOM

Currently there is no out of box solution in the Robot Framework libraries on how to wait until the element is visible on the page in shadow DOM. I came up with one approach. Perhaps it will be useful ...
33 votes
2 answers
11k views

Why there are only 75 visible characters in Intellij Idea's embedded terminal?

When I use Idea's embedded command prompt in the tools window I can only see 75 characters. The chars are there but they are not visible: C:>echo "This is the sentence I want to show you but I get ...
0 votes
0 answers
6 views

How can I change the visibility of a relativelayout in RecyclerView inside Another activity

How can I change the visibility of this relativelayout progressBarRelativeLayout in this RecyclerViewAdopter inside another activity package com.google.gemini; import android.content.Context; ...
2 votes
0 answers
224 views

How to change collapsed code indicator VSCode

When I use the Collapse code function in VSCode I get three little dots after the line of code that contains the collapsed code, see image below: How can i change those three little dots to ...
7 votes
4 answers
15k views

Flutter Animate Visibility with opacity

The Flutter Visibility Widget allows everything contained within it to be both hidden and disabled. However, I want to animate the opacity as well as invoke visibility. Using the Visibility widget is ...
2 votes
0 answers
118 views

Make Objective-C header files with "Project" visibility accessible in Swift files in the same framework

I am working on an Objective-C framework and trying to add Swift features to it. To do that I need to use some protocols and enums declared in Objective-C that have a visibility level of "Project&...
0 votes
0 answers
60 views

CRTP Member Visibility

I am trying to better understand C++ class member visibility as it pertains to the CRTP (curiously recurring template pattern). I should note that I understand the use of CRTP and its "compile ...
171 votes
18 answers
125k views

How do I invert BooleanToVisibilityConverter?

I'm using a BooleanToVisibilityConverter in WPF to bind the Visibility property of a control to a Boolean. This works fine, but I'd like one of the controls to hide if the boolean is true, and show if ...
17 votes
2 answers
7k views

MVVM - hiding a control when bound property is not present

I was wondering if it is possible to hide a control on a view if the property to which the control is bound does not exist in the view model. For example, if I have the following: <CheckBox ...
0 votes
1 answer
2k views

iOS Visible=false, event elements are visible on screen

Appium: 1.13.0 Xcode: 10.2 iOS: 12.1 Device (Simulators): iPhone 6, iPhone X I have native app and run it on ‘iPhone 6, X’ simulator. When I look through source code using GUI Appium or get XML ...
1 vote
1 answer
225 views

PHP Error: Cannot access private property

I have a class like this: class Session { private Session_Database $db; public function __construct(){ // Instantiate new Database object $this->db = new Session_Database();...
1 vote
1 answer
186 views

Strip symbols from static library, or import only specific symbols during linking

The setup is the same as in my other question here. I thought a bit more about the problem, and it turns out, of all symbols exported from the libraries I'm using, I only need a few of them. In the ...
7 votes
1 answer
3k views

Hiding a surfaceview that overlaps another one

In my app I'm using several surface views (for displaying videos and google maps), displayed on the screen in the same time. Now I have to add the possibility to change the configuration (position, ...
0 votes
0 answers
39 views

Detect browser out of focus

I want to detect when the browser goes out of focus. More specifically, here is my case: I have my page opened and when I change the tab, it can be detected using visibilitychange. But when I go to ...
0 votes
0 answers
29 views

How do I hide an entire HTML page, but make the page still renders and still exist?

I'm making an extension to hide the ChromeOS bookshelf by displaying a completely hidden tab, so the device would register a window being drawn, but the user could not interact or notice it. This is ...
0 votes
1 answer
21 views

Issue WPF Datagrid maybe bug?

I am generating a datagrid dynamically and the only problem I have is that it creates an extra row at the end, it is something visual because when I delete by code the last row continues to appear. &...
7 votes
3 answers
16k views

Can't insert a record because of "malformed record literal"

The following problem has me stumped SELECT string_agg(e.enumlabel, '|') as enum_value FROM pg_type t JOIN pg_enum e on t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t....
6 votes
2 answers
1k views

Flutter The cursor and the keyboard does not show when focus is true

I am using a Linkable to highlight web links, phone numbers, and email addresses from what the user types into a textfield. The first problem is that the linkable does not take textfield in, it only ...
0 votes
1 answer
22 views

SSRS Hide Columns Based on Time Expression

I have a 2 sheet report and want SSRS to hide columns from sheet1 and sheet2 based on the time of day. Steps and Issue: I added an expression to hide columns and data in sheet2. If the report runs ...
9 votes
1 answer
10k views

Hiding the symbols of a static library in a dynamic library in MAC OS X?

I am using a static library (eg: boost.a) and some *.o files to create a dynamic library (Eg: libdynamic.dylib) in MAC OS X. I am able to hide the symbols from the *.o files since I created those by -...
3 votes
0 answers
2k views

how to disable discovery/visibility of HC-05 bluetooth module

I am using hc-05 module interfaced with an arduino to connect with android device. What i am trying now is to disable hc-05 bluetooth module discovery/visibility to other device. In short i want to ...
0 votes
0 answers
69 views

Unity setactive() not working because of object name

So I have a sort of item system in my game and it opens a savefile to see what items the player has at the time, when it loads it enables and disables objects based on the savefile information. Which ...
6 votes
1 answer
670 views

Subclassing sun.* class in same package gives IllegalAccessError

Foreword: What am I going to show you is WRONG and I'm well aware of how bad I am for breaking encapsulation by doing such foolish thing. I'm not trying to solve any more general I/O problem. It's ...
0 votes
2 answers
3k views

If-else statement and visibility - android

I have five checkboxes in my app along with five progressbars, and have called visibility according to checkboxes to make progressbars visible/gone. so is there any alternative to if-else statements ...
2 votes
3 answers
498 views

JavaScript var visibility

Given this code: function MyClass() { var v = '1'; this.hi = function() { console.log('Value of V is ' + v); var v = '2'; console.log('Value of V is ' + v); ...
0 votes
1 answer
176 views

Rust visibility from child module to outside

I'm learning about Rust, and trying to figure out the visibility rules for modules. I have the following code: fn x() -> u8 { 5 } struct Person { name: String, } mod example { use ...
2 votes
3 answers
3k views

Add custom column product visibility to admin product list in Woocommerce 3

I am trying to add a custom column to admin product list with the Catalog Visibility value of the products (basically, I need to know easier which is Hidden and which is not). My code so far for my ...
1 vote
1 answer
875 views

Allowing binary in the same crate to use library's modules but disallowing external crates to use the same modules

I have three files under the src directory: src |____ keys.rs // a 'sub-module' under `lib.rs` |____ lib.rs |____ main.rs // binary file In my cargo.toml, I specify specifically the paths to the lib ...
19 votes
7 answers
40k views

C#/WPF: Make a GridViewColumn Visible=false?

Is there an option to hide a GridViewColumn somehow like this: <ListView.View> <GridView> <GridViewColumn Header="Test" IsVisible="{Binding Path=...
0 votes
2 answers
8k views

ExtJS 4.1.3 filter combobox

This is a 2-part question: Primary Question: Say I have a combobox (code below) that is pulling from a store. Say I have an array that I want to filter the data by so that only certain values ...

15 30 50 per page
1
2 3 4 5
64