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 [tag:memory-visibility] or [tag:class-visibility].

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

Flutter, how do I display Bluetooth device names in a Flutter app?

I'm currently working on a Flutter application that requires connecting to Bluetooth devices. I'm using the flutter_blue package to handle the connection. My issue is that I'm unable to display the ...
KABORE Nematou's user avatar
1 vote
2 answers
263 views

How can i fix warning that Class 'Shape' is exposed outside its defined visibility scope? (JAVA 17)

I made function 'warn' in line 17 whose parameter is enum Shape. Why warning about visibility scope and how can I fix it? import java.util.Scanner; public class AreaCalculator { enum Shape {...
hong's user avatar
  • 23
0 votes
0 answers
9 views

How to keep a hidden element visible after going to another page and returning?

I'm making a birthday card website for my dad. There are five buttons you can click to reveal different popups. Once all the buttons have been clicked, a hidden link to a photo gallery appears. In ...
kamp's user avatar
  • 1
0 votes
0 answers
24 views

React Component delete button not displaying correctly based on ownership

Problem Description: I'm encountering an issue in my React application where a delete button should only be visible to the owner of an item, but it's not working as expected. Here's the problem in ...
Adrian's user avatar
  • 1
0 votes
0 answers
12 views

page elements transitioning to visibility when they appear on screen in sveltekit

I have a webpage where I have some buttons that I want to appear as the user scrolls down the page. My problem is effectively two-fold. First of all, as I have shown below, I need to work out when the ...
Michael Williams's user avatar
1 vote
1 answer
35 views

Why is my class not visible outside the file? [closed]

I have 2 PHP files as part of a website. The first one has the API functions (pre made ready to use requests), and the other one has the code itself that will call the functions from the first one. ...
Mohammad Ayaad's user avatar
0 votes
0 answers
24 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 ...
Igor Bosyi's user avatar
-1 votes
3 answers
57 views

Not able to override default timeout while using explicit wait mechanism in cypress

I am using cypress-wait-until plugin to apply explicit wait in our framework. When I use it and maximum time given is say 30000 milliseconds, so ideally it should wait maximum 300000 ms (30 seconds) ...
Deepak's user avatar
  • 110
0 votes
2 answers
46 views

Visibility widget do not change ui | Flutter

Hi i have myWidget and i pass the focusNode var to it from EditPopUpParent() class, when i am focusing TextField value of focusNode.hasFocus is changing and i can see it by printing it out by ...
Malak's user avatar
  • 336
0 votes
0 answers
25 views

Apexcharts does not work with style visibility display = ‘none’

I have a simple web application using plain html/css/js (no framework). I have implemented a tabbed pane where the implementation is based on css turning visibility.display on/off. In one of the panes ...
user1486064's user avatar
4 votes
0 answers
77 views

Why does Visual Studio need both `dllimport` and `dllexport` while GCC achieves the same thing with one keyword `visibility("hidden")`?

The following is a common pattern in cross-platform libraries that are compiled as shared libraries with default visibility hidden: #if defined _WIN32 #ifdef BUILDING_DLL #define DLL_PUBLIC ...
mastov's user avatar
  • 2,952
1 vote
0 answers
19 views

Visibility of an iframe for example H captcha frame through selenium python

So what I want is to detect the visibility of an iframe which is h captcha and so far I can detect the element through find element but when try to do it through EC visibility it isn't able to detect ...
creep dude's user avatar
8 votes
2 answers
161 views

Calendar View show/gone inside Recyclerview ViewHolder Issue on Android 8, 9 only

I have a recyclerview with 2 or more viewholders, 1st Viewholder is just top heading banner 2nd vlewholder is for booking widget which has 3 dropdowns/detail menus including CalendarView -- All in ...
Nadeem Iqbal's user avatar
  • 2,357
2 votes
2 answers
75 views

Hidden button not appearing under specified conditions

I have a small game and when all hearts are lost, a reset button should appear. I can't for the life of me figure out why it's not showing up. I rewrote it 3 times, wondering if it was how I was ...
breanne1209's user avatar
0 votes
0 answers
26 views

Make icons visible regardless of absolute positioning

I am new to HTML and CSS. I want the black and blue shape to be able to stay inside of the red shape as it is now and the icons to be visible over the red shape. #leftnav { background-color: #...
South's user avatar
  • 5
1 vote
2 answers
74 views

Inconsistent behavior of SABT widget when changing scroll direction in Flutter

If I scroll down, the collapsed app bar becomes visible and the first child is also visible. That's good. However, if I suddenly change the scrolling direction to up, even though the app bar is still ...
gaith's user avatar
  • 11
0 votes
1 answer
43 views

How to strip local symbols with a version script

I am compiling a shared ELF library with GCC using -Wl,--version-script=version.script MYLIB_1.0 { global: the_only_symbol_i_want; local: *; }; This does as advertised; ...
Timmmm's user avatar
  • 88.5k
0 votes
1 answer
55 views

How do I use a JDK class that isn't visible to me?

I am new to Java so please bear with me. I am trying to use the JDK class "com.sun.tools.example.debug.expr.ExpressionParser". When I compile my code, I get the following error: "...
gcworker44's user avatar
2 votes
0 answers
56 views

Template, visibility, static attribute and shared libraries

The question is about the static attribut of an instanciation of a template class when used by a shared library and by an executable. The test contains a few classes: PoolObject (the template class), ...
Nitro's user avatar
  • 21
0 votes
1 answer
55 views

Writing to a volatile field and reading another volatile field: Is the happens-before-rule valid?

Question: Is this statement true: „A write to a volatile field happens-before every subsequent read of that or another volatile field.“ On How to understand happens-before consistent I found the ...
dibo's user avatar
  • 1
0 votes
0 answers
53 views

swiftUI tabbar is visible where it shouldn't be

I have a TabView in SwiftUI and I want to hide the system Tabbar to implement my own. When I try to hide the tabbar it works until I switch the tab. The tabbar is then visible although the tabbar is ...
Noah's user avatar
  • 21
0 votes
1 answer
51 views

How to hide one button on click on another button

I have two button one is show and another is hide. When i clicked on show button that time hide button design should be change and when i click on hide button when hide button come from old design ...
nitish chauhan's user avatar
0 votes
1 answer
47 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 ...
DACUS's user avatar
  • 33
-1 votes
1 answer
64 views

How to correctly link a C++ library that has different behaviors depending on its compilation?

I have a library called Print and the function println, which mimics printf. If compiled with the directive USE_DEBUG_PRINT, println actually prints something. If compiled without this define, it ...
Eduardo's user avatar
  • 184
0 votes
0 answers
51 views

Go Property Visibility & API Design

So I have a LineItem struct that contains a Price property that needs to be exported for SQLx to set the value from the database but the desired value requires logic to be applied to get the value (e....
JSP's user avatar
  • 557
1 vote
1 answer
44 views

Swift Package's extension property's visibility

When defining a property as an Extension in a Swift Package, if it was created with internal visibility, is it safe to define a property of the same name on the side that uses it? Or could there be ...
Byoungchan Lee's user avatar
0 votes
0 answers
59 views

Github repository visibility issue

I changed the visibility of my repository from private to public. I am having difficulties changing it back to private hours later. I keep getting this message "Sorry, repository visibility ...
Adewale99's user avatar
0 votes
0 answers
37 views

Android - Why this TextView is moving its position after changing its visibility programmatically?

Initially both TextViews are visible and aligned correctly: After clicking the Button, I set both TextViews visibility to GONE. Second time I click on the Button, I set the visibility again to ...
xerez's user avatar
  • 35
0 votes
0 answers
22 views

I read that 'hidden' comps cause issues in IE. What is the safest method to show/hide elements for cross browser compatibility?

I have several components such as tooltips and menus that are not always visible. I read somewhere that visibility = hidden can throw errors in IE but I don't know how accurate that is. If so, for ...
Yvonne Ayala's user avatar
0 votes
2 answers
84 views

Dynamically added Views not visible

I am trying to add TextViews to a LinearLayout wrapped in a ScrollView during runtime, but the visibility of the TextViews will eventually not display on screen even though their visibility flags are ...
brutal11's user avatar
0 votes
1 answer
39 views

C++ program symbols visibility issues in libgcc and ld

For this question: version-script and hidden visibility I saw this comment: Visibility annotations are preferred to linker scripts as they allow more aggressive optimization by compilers. Scripts are ...
Home of the Brave's user avatar
0 votes
2 answers
108 views

How to make sibling div element visible when list item is hovered on

I have the following simple header component with navigation items, which when hovered on should add the following two css rules to the mega-menu div element so that it appears: visibility: visible; ...
cts's user avatar
  • 908
0 votes
0 answers
84 views

What are the visibility rules for package com.sun.tools.javac.code in oracle open jdk version 20?

I am writing a database management program in java in maven in intellij IDEA. For now, the code is only connecting me to the database in MySQL. The code itself has no errors. However, upon running it, ...
amama's user avatar
  • 1
0 votes
1 answer
162 views

Hide divi module with advanced custom fields

I hope anyone can help me. Is there a way to toggle the visibility of a Divi module with ACF in Wordpress? I tried it myself an searched in forums
Phil's user avatar
  • 11
-1 votes
1 answer
27 views

(css) Is there any way I can make an element stop glitching, considering that it gains visibility when another element behind it is hovered?

So, as I said in the title, I have two divs, lets call them div 1 and div 2 and the one on top of the other is set to visibility:hidden. here is a picture Basically the info div is supposed to appear ...
poppy pelt's user avatar
0 votes
1 answer
61 views

How can I make my Flutter application visible to users with Gmail.com email addresses on the Google Play Store?

I have recently deployed my Flutter application to the production mode on the Google Play Store. The application is targeted for 177 countries and should be available to all users, regardless of their ...
ASMA's user avatar
  • 59
0 votes
0 answers
22 views

DOM Operation Unsuccessful - Show HTML in Element

Working code here is mixed with non-working code. The code works up until the line where it commands the innerText to be of x.innerHTML.substring(3,-3) This is the function I am calling on a click ...
Anthony Pulse's user avatar
0 votes
0 answers
55 views

Having trouble getting button visibility to work with view binding

Here is the github link: https://github.com/dunow0033/BudgetTracker Here is the XML for a button for updating a budget entry: <Button android:id="@+id/updateBtn" android:...
bradd's user avatar
  • 1
1 vote
0 answers
163 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 ...
Jim's user avatar
  • 448
0 votes
0 answers
58 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 ...
swineone's user avatar
  • 2,296
1 vote
2 answers
221 views

Rust idiom for exposing public fields while restricting direct struct construction

I know of the visibility rules in Rust and the typical 'constructor' patterns in Rust, e.g. via associated functions, commonly named as new or if all fields of the struct are public, via 'direct' ...
Jim's user avatar
  • 448
3 votes
1 answer
114 views

Can BlockingQueue make MemorySegment visible for multiple threads?

I am using JDK20's FFI, and I need to pass a Object to a BlockingQueue to shared it from one thread to another. The Object contains several MemorySegment field, which belongs to Arena.openShared(). ...
benrush's user avatar
  • 45
0 votes
1 answer
75 views

TCL - invalid command name ... but different

I try to add two buttons to the console window for convenience and to play around with it. The problem is: The first button just triggers an "exit". This works fine. The second button ...
dietmar bos's user avatar
0 votes
1 answer
65 views

Toggle visibility of the meshes from the scene in Three.js

I have faced with an issue. when I set the cubes' visible property to false. It is hiding the mesh from the user, but it is actual place is staying there and preventing from clicking the another mesh ...
Asadbek Eshboev's user avatar
2 votes
1 answer
72 views

UML classes diagram the question of relations and visibility of fields

I have a few questions regarding my design after having reviewed a number of information sources. I decided to link the User and UserSettings classes with a composition relation (since user settings ...
Smth_Unknown's user avatar
0 votes
0 answers
46 views

Changing FAB visibility - delay

Based on question posted here, my question is: What about the delay of changing visibility of FAB? After using this approach: floatingActionButton: Visibility( visible: MediaQuery.of(...
petomuro's user avatar
0 votes
0 answers
5 views

"style" is undefined or null when I try to hide my arrows in my carrousel [duplicate]

I have a little problem with my carousel, I just try to remove the right and left arrow when there is only one image but when I try to add this code, I have an error that tells me that "style&...
AxCode's user avatar
  • 1
0 votes
0 answers
71 views

Override fvisibility in Fortran routine

In a shared object, I can make my Fortran routines unavailable from outside using -fvisibility=hidden. In C/C++ you can override this setting in your routines by void __attribute__ ((visibility("...
Mads M Pedersen's user avatar
0 votes
0 answers
81 views

SSRS Report Incorrectly Displays Conditionally Hidden Tablix After a Hidden Subgroup is Toggled on a Separate Tablix

My SSRS report has multiple Tablix elements. Their visibility is conditional to the content of the datasets they use. It works as intended when first displayed. When the dataset is empty, the Tablix ...
ETS333's user avatar
  • 1
0 votes
1 answer
24 views

How can I make a control invisible with code in a Python FMX GUI App?

I made the following GUI in DelphiFMX for Python that contains two buttons and a rectangle. I simply want to hide and show the rectangle with the button clicks: What I've tried doing so far is: def ...
Shaun Roselt's user avatar
  • 1,666

1
2 3 4 5
64