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 ...

15 30 50 per page
1
2 3 4 5
107